Input: touchscreen - move helper functions to core
authorJeff LaBundy <jeff@labundy.com>
Mon, 22 Mar 2021 23:42:25 +0000 (16:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Mar 2021 18:14:09 +0000 (11:14 -0700)
commite28b5c8d0aaee116a0dd42c602fd667f8ffe2629
tree376db3175ad9d14923d490b2c5774c157b51af67
parentc75cf86201e37c2dd6b8077ed6de2776471f5be5
Input: touchscreen - move helper functions to core

Some devices outside of drivers/input/touchscreen/ can still make
use of the touchscreen helper functions. Therefore, it was agreed
in [1] to move them outside of drivers/input/touchscreen/ so that
other devices can call them without INPUT_TOUCHSCREEN being set.

As part of this change, 'of' is dropped from the filename because
the helpers no longer actually use OF. No changes are made to the
file contents whatsoever.

Based on the feedback in [2], the corresponding binding documents
(touchscreen.yaml and touchscreen.txt) are left in their original
locations.

[1] https://patchwork.kernel.org/patch/11924029/
[2] https://patchwork.kernel.org/patch/12042037/

Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/20210301234928.4298-2-jeff@labundy.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/Makefile
drivers/input/touchscreen.c [moved from drivers/input/touchscreen/of_touchscreen.c with 100% similarity]
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/Makefile