mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
56a83cc929
commit
59a3cd7f9d
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue