HID: wacom: use wacom_wac_finger_count_touches to set touch_down
authorPing Cheng <pinglinux@gmail.com>
Fri, 20 Mar 2015 21:57:21 +0000 (14:57 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 2 Apr 2015 12:13:42 +0000 (14:13 +0200)
commit7d059ed01ca18d20e0a94ef785ee81a45c19d78c
tree134797c4b913af172094fa46f99a22f7de5a4f93
parentf3586d2f819af6dbe5b08d2a6f1d22b1a97e2b64
HID: wacom: use wacom_wac_finger_count_touches to set touch_down

Counting number of touching fingers by wacom_wac_finger_count_touches so we
don't have to count them inside individual routines.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c