29 Jun, 2015
1 commit
-
The functions backlight_device_unregister(), lcd_device_unregister() and
rc_unregister_device() test whether their argument is NULL and then
return immediately. Thus the test around the call is not needed.This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
Reviewed-by: Bruno Prémont
Signed-off-by: Jiri Kosina
25 Feb, 2013
1 commit
-
This allows the hid drivers to be independent from the transport layer.
The patch was constructed by replacing all occurences of
usbhid_submit_report() by its hid_hw_request() counterpart.
Then, drivers not requiring USB_HID anymore have their USB_HID
dependency cleaned in the Kconfig file.Finally, few drivers still depends on USB_HID. Many of them
are requiring the io wait callback. They are found in the next patch.Signed-off-by: Benjamin Tissoires
Reviewed-by: Mika WesterbergFor the sensor-hub part:
Tested-by: Mika Westerberg
Signed-off-by: Jiri Kosina
15 Aug, 2012
2 commits
-
Stop earlier attempting to submit new reports/URBs (though locking and
usbhid still prevents to bail out early enough to not produce multiple
hid-picolcd 0003:04D8:C002.0003: usb_submit_urb(out) failed: -19
messages in kernel log.Strengthen framebuffer removal to be less racy.
Signed-off-by: Bruno Prémont
Signed-off-by: Jiri Kosina -
In order to make code maintenance easier, split the vairous
functions into individial files (this removes a bunch of #ifdefs).Signed-off-by: Bruno Prémont
Signed-off-by: Jiri Kosina