]> 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)
commit36a86d792f1cd57fdd7198424d69b23569a236df
treee62c0659fcb1cfea178ab5514b3efc74c8ecf4da
parent2a4ccb1d9d51c80f69e0e139d008e943917e342e
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