aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/input
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-08-08 14:03:59 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-09-02 12:06:52 -0400
commita1b70a44b80af641a441937803cb8251e8e6d8e3 (patch)
treee62c0659fcb1cfea178ab5514b3efc74c8ecf4da /include/linux/input
parent5dc15dcf39c40fcc420e41b43e31ab260c3feec3 (diff)
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>
Diffstat (limited to 'include/linux/input')
-rw-r--r--include/linux/input/bu21013.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/input/bu21013.h b/include/linux/input/bu21013.h
index 7e5b7e978e8a..58b1a9d44443 100644
--- a/include/linux/input/bu21013.h
+++ b/include/linux/input/bu21013.h
@@ -11,8 +11,6 @@
11 * struct bu21013_platform_device - Handle the platform data 11 * struct bu21013_platform_device - Handle the platform data
12 * @touch_x_max: touch x max 12 * @touch_x_max: touch x max
13 * @touch_y_max: touch y max 13 * @touch_y_max: touch y max
14 * @cs_pin: chip select pin
15 * @touch_pin: touch gpio pin
16 * @ext_clk: external clock flag 14 * @ext_clk: external clock flag
17 * @x_flip: x flip flag 15 * @x_flip: x flip flag
18 * @y_flip: y flip flag 16 * @y_flip: y flip flag
@@ -23,8 +21,6 @@
23struct bu21013_platform_device { 21struct bu21013_platform_device {
24 int touch_x_max; 22 int touch_x_max;
25 int touch_y_max; 23 int touch_y_max;
26 unsigned int cs_pin;
27 unsigned int touch_pin;
28 bool ext_clk; 24 bool ext_clk;
29 bool x_flip; 25 bool x_flip;
30 bool y_flip; 26 bool y_flip;