Searched hist:f2145f8dc566c4f3b5a8deb58dcd12bed4e20194 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hid/ |
H A D | hid-core.c | diff f2145f8dc566c4f3b5a8deb58dcd12bed4e20194 Fri Mar 19 19:27:16 CDT 2021 Dmitry Torokhov <dmitry.torokhov@gmail.com> HID: do not use down_interruptible() when unbinding devices
Action of unbinding driver from a device is not cancellable and should not fail, and driver core does not pay attention to the result of "remove" method, therefore using down_interruptible() in hid_device_remove() does not make sense.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|