]> 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>
Mon, 10 Sep 2012 18:00:01 +0000 (20:00 +0200)
commit37a30b773364ca92bde2b800dc6d49a451946a89
treebc78c693ae98cedf32dd6e9bdb3bd52420dee125
parent6a38ab22481209bd4f783ada21cd4b8767eb4f83
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