Input: icn8318 - use of_touchscreen helpers for inverting / swapping axes
authorHans de Goede <hdegoede@redhat.com>
Fri, 15 Jul 2016 21:28:11 +0000 (14:28 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 15 Jul 2016 21:50:56 +0000 (14:50 -0700)
commit50dd9f66e54cb415138695944975d4ee51d8b4a5
tree04e4e2871841791c0afb204e9338e8dcd7721707
parentad368eb2da8f7ae8d40a299e5982e02affc879fd
Input: icn8318 - use of_touchscreen helpers for inverting / swapping axes

Use the touchscreen_parse_properties() and touchscreen_report_pos() to
perform coordinates transformation, instead of DIY code, which results in a
nice cleanup.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/chipone_icn8318.c