]> git.baikalelectronics.ru Git - kernel.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>
Wed, 19 Sep 2012 17:50:20 +0000 (19:50 +0200)
commiteb95cf5863405adcf9e0c194b931f5dea894df22
treebb9ebac100f062b4beee13f523212e5b3e7910da
parenteaf94a5e77b9dac4e2438b35530f8be1ffb11f61
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