]> git.baikalelectronics.ru Git - kernel.git/commit
Input: wacom - use in-kernel HID parser
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 24 Jul 2014 20:02:14 +0000 (13:02 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 26 Jul 2014 01:53:55 +0000 (18:53 -0700)
commit762881090c74e528b57f08664811e0d6a2bbeff0
tree3341cef9d7d2c5dbda688bfae262fa9c94e556c2
parent0fc20215f08c380ade9f28f93d43048473973986
Input: wacom - use in-kernel HID parser

HID already parses the report descriptor, so use it instead of implementing
our own.  The special case for Bamboo PT 3rd gen is also removed and
handled in the same way Intuos 5 is treated, by hardcoding it in the
driver.  Last, the unit_exponent stored into the hid field already is
signed, so there is no need to handle a two's complement anymore.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Tested-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_sys.c
drivers/input/tablet/wacom_wac.h