summaryrefslogtreecommitdiffstats
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-06-06 23:59:32 -0700
committerJiri Kosina <jkosina@suse.cz>2017-06-08 13:56:09 +0200
commit9a83563fb3f926cbf0d5992d5c70d760c445ba09 (patch)
tree1e30ec96a2628fee9a1ada2641f7c68103372982 /drivers/hid/Kconfig
parentd36b7d4c271b2f93127e7e7cc007b5768a296594 (diff)
downloadlinux-9a83563fb3f926cbf0d5992d5c70d760c445ba09.tar.bz2
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>
Diffstat (limited to 'drivers/hid/Kconfig')
0 files changed, 0 insertions, 0 deletions