projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56a83cc
)
Driver core: fix comment for device_attach()
author
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 6 May 2009 03:38:28 +0000
(20:38 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 16 Jun 2009 04:30:24 +0000
(21:30 -0700)
We are looking for matching drivers, not devices.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/dd.c
b/drivers/base/dd.c
index efd00de183b12dd7b6fc31f2fed3f5e566afeac5..f0106875f01da48f9fb70afb6b2a68ac7259e37a 100644
(file)
--- a/
drivers/base/dd.c
+++ b/
drivers/base/dd.c
@@
-226,7
+226,7
@@
static int __device_attach(struct device_driver *drv, void *data)
* pair is found, break out and return.
*
* Returns 1 if the device was bound to a driver;
- * 0 if no matching d
evice
was found;
+ * 0 if no matching d
river
was found;
* -ENODEV if the device is not registered.
*
* When called for a USB interface, @dev->parent->sem must be held.