diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-05-05 20:38:28 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-15 21:30:24 -0700 |
commit | 59a3cd7f9da60ac4ba8ae5a4cddc48fe4a450129 (patch) | |
tree | 9e3e5ae3439c119452862aee8a7c35887a3625d1 /drivers/base/dd.c | |
parent | 56a83cc92991ed5bf76e224dd2ad53b5e9c00681 (diff) | |
download | blackbird-op-linux-59a3cd7f9da60ac4ba8ae5a4cddc48fe4a450129.tar.gz blackbird-op-linux-59a3cd7f9da60ac4ba8ae5a4cddc48fe4a450129.zip |
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/dd.c')
-rw-r--r-- | drivers/base/dd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c index efd00de183b1..f0106875f01d 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. |