]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ads7846 - use input_set_capability()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 10 Sep 2021 04:50:38 +0000 (21:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 16 Oct 2021 05:09:48 +0000 (22:09 -0700)
commit1277e9033405cdf7ea0ca2196cb7c84683d6a526
tree7e1a406e1cd8e1f5803c8a48b4f9fbb70ec75134
parent29495e42e3ebbf3488e0363f86cb2baafc11a561
Input: ads7846 - use input_set_capability()

Instead of manipulating capability bits directly use
input_set_capability(). Also stop setting EV_ABS explicitly as
input_set_abs_params() does it for us.

Link: https://lore.kernel.org/r/20210910045039.4020199-2-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ads7846.c