summaryrefslogtreecommitdiffstats
path: root/drivers/base/driver.c
diff options
context:
space:
mode:
authormochel@digitalimplant.org <mochel@digitalimplant.org>2005-03-24 20:08:04 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-20 15:15:23 -0700
commit4d12d2d953ca5e299de6a653f1d0478f670d7bc6 (patch)
treeba89978abb57da6a24cc141b869a14b6d6c76884 /drivers/base/driver.c
parent36239577cfb6b9a7c111209536b54200b0252ebf (diff)
downloadlinux-4d12d2d953ca5e299de6a653f1d0478f670d7bc6.tar.gz
linux-4d12d2d953ca5e299de6a653f1d0478f670d7bc6.tar.bz2
linux-4d12d2d953ca5e299de6a653f1d0478f670d7bc6.zip
[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
Diffstat (limited to 'drivers/base/driver.c')
-rw-r--r--drivers/base/driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 34bd38aa7eb8..f789b6cb4b56 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -31,8 +31,7 @@ static struct device * next_device(struct klist_iter * i)
* @data: Data to pass to the callback.
* @fn: Function to call for each device.
*
- * Take the bus's rwsem and iterate over the @drv's list of devices,
- * calling @fn for each one.
+ * Iterate over the @drv's list of devices calling @fn for each one.
*/
int driver_for_each_device(struct device_driver * drv, struct device * start,