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)
commita1b70a44b80af641a441937803cb8251e8e6d8e3
treee62c0659fcb1cfea178ab5514b3efc74c8ecf4da
parent5dc15dcf39c40fcc420e41b43e31ab260c3feec3
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