diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-06-06 23:59:31 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-06-08 13:56:08 +0200 |
commit | d36b7d4c271b2f93127e7e7cc007b5768a296594 (patch) | |
tree | 5be5c815fbe2b9418e863bf8389b025761fb046a /drivers/hid/hid-wiimote-debug.c | |
parent | 6df62e7916befd2c04ac63180b4ddeae2f7639f2 (diff) |
HID: hiddev: use hid_hw_open/close instead of usbhid_open/close
Instead of calling into usbhid code directly, let's use the standard
accessors for the transport HID drivers, and stop clobbering their errors
with -EIO.
This also allows us make usbhid_open and close static.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-wiimote-debug.c')
0 files changed, 0 insertions, 0 deletions