Skip to content

Commit 4d12d2d

Browse files
mochel@digitalimplant.orggregkh
authored andcommitted
[PATCH] Fix up bogus comment.
Signed-off-by: Patrick Mochel <mochel@digitalimplant.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> diff -Nru a/drivers/base/driver.c b/drivers/base/driver.c
1 parent 3623957 commit 4d12d2d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/base/driver.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ static struct device * next_device(struct klist_iter * i)
3131
* @data: Data to pass to the callback.
3232
* @fn: Function to call for each device.
3333
*
34-
* Take the bus's rwsem and iterate over the @drv's list of devices,
35-
* calling @fn for each one.
34+
* Iterate over the @drv's list of devices calling @fn for each one.
3635
*/
3736

3837
int driver_for_each_device(struct device_driver * drv, struct device * start,

0 commit comments

Comments
 (0)