]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Input: wacom - use hidinput_calc_abs_res instead of duplicating its code
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 24 Jul 2014 20:03:05 +0000 (13:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 26 Jul 2014 01:53:55 +0000 (18:53 -0700)
commit198fdee2829547ec4ff29bb56ea668790d23bc4b
tree9a054b2cd421e7f4451ffb96b3eef5e19fd49aef
parentc669fb2b9ac47682b53f0a97d55c7ae4f2f3eaee
Input: wacom - use hidinput_calc_abs_res instead of duplicating its code

This may infer a small difference with the previous implementation
due to the DIV_ROUND_CLOSEST() in the hid implementation.

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