Input: ili210x - rework the touchscreen sample processing
authorMarek Vasut <marex@denx.de>
Thu, 7 Feb 2019 06:01:07 +0000 (22:01 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 7 Feb 2019 06:18:12 +0000 (22:18 -0800)
commite3559442afd2a3d9b09eedc236f19698c515472e
tree320b37ae0b41440ddc3b0819daca14b3ab8f62d3
parent1bdec5d9818c47e080c19784dfd25d1d9c20807e
Input: ili210x - rework the touchscreen sample processing

Get rid of the packed structures for representing data as that does not
apply to other similar Ilitek touchscreens. Instead, implement a function
which parses the data and reports touch events and coordinates.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ili210x.c