summaryrefslogtreecommitdiffstats
path: root/drivers/base/bus.c
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2009-05-14 23:15:22 +0200
committerJiri Kosina <jkosina@suse.cz>2009-06-12 18:01:48 +0200
commit0fa1b0a144ee3e57f63ae25a7c5402f57232853d (patch)
tree65b0047077d4a2580d4b26cc76e285708bb9b5a2 /drivers/base/bus.c
parenttrivial: rbtree.txt: fix rb_entry() parameters in sample code (diff)
downloadlinux-0fa1b0a144ee3e57f63ae25a7c5402f57232853d.tar.xz
linux-0fa1b0a144ee3e57f63ae25a7c5402f57232853d.zip
trivial: fix grammo in bus_for_each_dev() kerneldoc
Signed-off-by: Alex Chiang <achiang@hp.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/base/bus.c')
-rw-r--r--drivers/base/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index c6599618523e..4b04a15146d7 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -279,7 +279,7 @@ static struct device *next_device(struct klist_iter *i)
*
* NOTE: The device that returns a non-zero value is not retained
* in any way, nor is its refcount incremented. If the caller needs
- * to retain this data, it should do, and increment the reference
+ * to retain this data, it should do so, and increment the reference
* count in the supplied callback.
*/
int bus_for_each_dev(struct bus_type *bus, struct device *start,