HID: replace hid_output_raw_report with hid_hw_raw_request for feature requests
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 10 Feb 2014 17:58:54 +0000 (12:58 -0500)
committerJiri Kosina <jkosina@suse.cz>
Mon, 17 Feb 2014 13:56:50 +0000 (14:56 +0100)
commitb0dd72aafd785785bedbb6db932955807e454a65
tree9957e630bb70bd5c8f177546a8b805f281c17ac8
parentbd27e202c640d19fbf948a56914c230dcbaee6d0
HID: replace hid_output_raw_report with hid_hw_raw_request for feature requests

  ret = hid_output_raw_report(A, B, C, HID_FEATURE_REPORT);
is equivalent to
  ret = hid_hw_raw_request(A, B[0], B, C, HID_FEATURE_REPORT, HID_REQ_SET_REPORT);
whatever the transport layer is.

So use the new API where available

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lg.c
drivers/hid/hid-magicmouse.c
drivers/hid/hid-sony.c
drivers/hid/hid-thingm.c
drivers/hid/hid-wacom.c