Input: wacom - cleanup multitouch code when touch_max is 2
authorPing Cheng <pinglinux@gmail.com>
Fri, 13 Jun 2014 20:37:33 +0000 (13:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 15 Jun 2014 07:28:38 +0000 (00:28 -0700)
commitd7da3a3ccdeb64ceedb51b0a3377ba56cc2999fa
treef14ade0a104b94f60a8d2667d6e817c6cc60d668
parenta292241cccb7e20e8b997a9a44177e7c98141859
Input: wacom - cleanup multitouch code when touch_max is 2

Historically we dealt with touch_max equals to 2 differently from
other MT devices. Now we use input_mt_*() to process all MT events,
as long as touch_max is greater than 1. So, there is no need to
take (touch_max == 2) as a special case any more.

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