]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sat, 15 Sep 2012 15:02:13 +0000 (17:02 +0200)
commit62f626ecafa8b6a4056aaf695bb869595d161855
treebb9ebac100f062b4beee13f523212e5b3e7910da
parent9542d93590a970f9efede7cf50d632177636258e
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