HID: wacom: break out wacom_intuos_get_tool_type
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 12 Feb 2016 16:27:40 +0000 (17:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 16 Feb 2016 19:40:36 +0000 (20:40 +0100)
commit7e129783b02081a866a7264473bc784cdfe69265
tree45b1c3516ae257ae5050572da1b4238e172f79fa
parent526d6e7b57062c494346149fb2d6aff0be78ed89
HID: wacom: break out wacom_intuos_get_tool_type

Allow to reuse the code in a later series and simplifies
the reading of wacom_intuos_inout().

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c