WSL2-Linux-Kernel/drivers/hid/usbhid
Dmitry Torokhov 9a83563fb3 HID: hiddev: use hid_hw_power instead of usbhid_get/put_power
Instead of calling into usbhid code directly, let's use the standard
accessors for the transport HID drivers, and stop clobbering their error
codes with -EIO.

This also allows us to remove usbhid_get/put_power(), leaving only
usbhid_power().

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>
2017-06-08 13:56:09 +02:00
..
Kconfig HID: Fix the generic Kconfig options 2012-06-25 17:25:00 +02:00
Makefile HID: Use Kbuild idiom in Makefiles 2015-01-21 22:23:20 +01:00
hid-core.c HID: hiddev: use hid_hw_power instead of usbhid_get/put_power 2017-06-08 13:56:09 +02:00
hid-pidff.c HID: pidff: effect can't be NULL 2015-03-27 16:03:26 +01:00
hid-quirks.c Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112', 'for-4.12/hid-core-null-state-handling', 'for-4.12/hiddev', 'for-4.12/i2c-hid', 'for-4.12/innomedia', 'for-4.12/logitech-hidpp-battery-power-supply', 'for-4.12/multitouch', 'for-4.12/nti', 'for-4.12/upstream' and 'for-4.12/wacom' into for-linus 2017-05-02 11:01:10 +02:00
hiddev.c HID: hiddev: use hid_hw_power instead of usbhid_get/put_power 2017-06-08 13:56:09 +02:00
usbhid.h HID: hiddev: use hid_hw_power instead of usbhid_get/put_power 2017-06-08 13:56:09 +02:00
usbkbd.c HID: remove use of DRIVER_LICENSE 2017-01-06 14:32:14 +01:00
usbmouse.c HID: remove use of DRIVER_LICENSE 2017-01-06 14:32:14 +01:00