aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2017-06-07 06:59:32 +0000
committerJiri Kosina <[email protected]>2017-06-08 11:56:09 +0000
commit9a83563fb3f926cbf0d5992d5c70d760c445ba09 (patch)
tree1e30ec96a2628fee9a1ada2641f7c68103372982 /net/unix/af_unix.c
parentHID: hiddev: use hid_hw_open/close instead of usbhid_open/close (diff)
downloadkernel-9a83563fb3f926cbf0d5992d5c70d760c445ba09.tar.gz
kernel-9a83563fb3f926cbf0d5992d5c70d760c445ba09.zip
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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions