]> git.baikalelectronics.ru Git - kernel.git/commit
Input: bu21013_ts - convert to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 8 Aug 2019 18:03:59 +0000 (11:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 2 Sep 2019 16:06:52 +0000 (09:06 -0700)
commit57ec867a6cd0851d6f3f9bf243e37994abdb7894
treee62c0659fcb1cfea178ab5514b3efc74c8ecf4da
parent42f462fa1061b4ebaa0ae9a720af1f2036905169
Input: bu21013_ts - convert to use GPIO descriptors

This driver can use GPIO descriptors rather than GPIO numbers
without any problems, convert it. Name the field variables after
the actual pins on the chip rather than the "reset" and "touch"
names from the devicetree bindings that are vaguely inaccurate.

No in-tree users pass GPIO numbers in platform data so drop
this. Descriptor tables can be used to get these GPIOs from a board
file if need be.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/bu21013.txt
drivers/input/touchscreen/bu21013_ts.c
include/linux/input/bu21013.h