]> git.baikalelectronics.ru Git - kernel.git/commit
Input: atmel_mxt_ts - split out touchpad initialisation logic
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 6 Apr 2015 20:10:30 +0000 (13:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 6 Apr 2015 20:37:32 +0000 (13:37 -0700)
commit5adbd6fef0e998714b87084656e86cd9bc5fa7bc
tree509c2f7359dec6c3cfadec6196baab452ca576ce
parent1e54284d7ca7b1a2d4d63dd47d4ae48b77c4c680
Input: atmel_mxt_ts - split out touchpad initialisation logic

If the "linux,gpio-keymap" DT property is defined, the T19 keys are
configured and the device is setup as a touchpad rather than a touchscreen.
The logic is part of the input device initialization routine but it can be
factored out to its own function to simplify the former.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c