Input: wacom - remove passing id for wacom_set_report
authorPrzemo Firszt <[email protected]>
Wed, 6 Aug 2014 21:00:38 +0000 (14:00 -0700)
committerDmitry Torokhov <[email protected]>
Wed, 6 Aug 2014 22:14:53 +0000 (15:14 -0700)
commit296b737874b8a671a8f9ee5a64602f15c06ae937
tree071f5bb0dc9618d40bf46bb833605c848d11bef0
parent849e2f06781a0c73573024bdaea0babc0c4e31af
Input: wacom - remove passing id for wacom_set_report

Every call of wacom_set_report was passing "id" as a separate parameter
and buffer also passed the same information. We can use first u8 of the
buffer instead of "id"

Signed-off-by: Przemo Firszt <[email protected]>
Signed-off-by: Benjamin Tissoires <[email protected]>
Reviewed-by: Ping Cheng <[email protected]>
Tested-by: Przemo Firszt <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/hid/wacom_sys.c