From: Dmitry Torokhov Date: Wed, 6 May 2009 03:38:28 +0000 (-0700) Subject: Driver core: fix comment for device_attach() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=59a3cd7f9da60ac4ba8ae5a4cddc48fe4a450129;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Driver core: fix comment for device_attach() We are looking for matching drivers, not devices. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/base/dd.c b/drivers/base/dd.c index efd00de183b..f0106875f01 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.