aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-05-05 20:38:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:30:24 -0700
commit59a3cd7f9da60ac4ba8ae5a4cddc48fe4a450129 (patch)
tree9e3e5ae3439c119452862aee8a7c35887a3625d1 /drivers/base
parent56a83cc92991ed5bf76e224dd2ad53b5e9c00681 (diff)
downloadkernel_samsung_espresso10-59a3cd7f9da60ac4ba8ae5a4cddc48fe4a450129.zip
kernel_samsung_espresso10-59a3cd7f9da60ac4ba8ae5a4cddc48fe4a450129.tar.gz
kernel_samsung_espresso10-59a3cd7f9da60ac4ba8ae5a4cddc48fe4a450129.tar.bz2
Driver core: fix comment for device_attach()
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>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/dd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index efd00de..f010687 100644
--- 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 device was found;
+ * 0 if no matching driver was found;
* -ENODEV if the device is not registered.
*
* When called for a USB interface, @dev->parent->sem must be held.