Input: wacom - remove passing id for wacom_set_report
authorPrzemo Firszt <przemo@firszt.eu>
Wed, 6 Aug 2014 21:00:38 +0000 (14:00 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
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 <przemo@firszt.eu>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Ping Cheng <pingc@wacom.com>
Tested-by: Przemo Firszt <przemo@firszt.eu>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/hid/wacom_sys.c