summaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-12-12 23:04:47 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-12-13 21:26:13 -0800
commit7395de647e87476f5b5d2f9a9fe80cee86b4e7cc (patch)
tree717c3595eaa4e021a71a54c42c04eea258003303 /include/linux/input
parente53c18da99c75f080bd99436c57824f2ab657f03 (diff)
Input: as5011 - convert to GPIO descriptor
This driver does not have any in-tree users but is passing a legacy GPIO number through platform data. Convert it to use a GPIO descriptor, new users or outoftree users can easily be implemented using GPIO descriptor tables or software nodes. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20231129-descriptors-input-v1-4-9433162914a3@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/input')
-rw-r--r--include/linux/input/as5011.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/input/as5011.h b/include/linux/input/as5011.h
index 5fba52a56cd6..5705d5de3aea 100644
--- a/include/linux/input/as5011.h
+++ b/include/linux/input/as5011.h
@@ -7,7 +7,6 @@
*/
struct as5011_platform_data {
- unsigned int button_gpio;
unsigned int axis_irq; /* irq number */
unsigned long axis_irqflags;
char xp, xn; /* threshold for x axis */