HID: hid-multitouch: Remove the redundant touch state
authorHenrik Rydberg <rydberg@euromail.se>
Sat, 1 Sep 2012 17:46:58 +0000 (19:46 +0200)
committerHenrik Rydberg <rydberg@euromail.se>
Wed, 19 Sep 2012 17:50:20 +0000 (19:50 +0200)
commit3e1b5015d94ec0bdfa5bd8c80a19bcba82bc505c
treebb9ebac100f062b4beee13f523212e5b3e7910da
parent76f5902aebdabcac5b1c34b8d9a238bad397364f
HID: hid-multitouch: Remove the redundant touch state

With the input_mt_sync_frame() function in place, there is no longer
any need to keep the full touch state in the driver. This patch
removes the slot state and replaces the lookup code with the input-mt
equivalent.

Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/hid/hid-multitouch.c