Input: wacom - clean up wacom_query_tablet_data
commitfe494bc2f6e47f02a78ec4761117187db40381a6
authorJason Gerecke <killertofu@gmail.com>
Thu, 4 Oct 2012 00:25:35 +0000 (3 17:25 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 5 Oct 2012 06:09:32 +0000 (4 23:09 -0700)
tree05d31e702033a0b7a68f468097a8e9f086a9f246
parent115d5e12a7d5fe62076f9dcc728905196162d709
Input: wacom - clean up wacom_query_tablet_data

Rewrites this function to be easier to read and understand. The new
function 'wacom_set_device_mode' now handles the grunt work of
assembling the proper feature report, sending it to the device,
and ensuring the setting "sticks".

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Tested-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_sys.c