diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-12-12 23:06:55 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-12-13 21:26:13 -0800 |
commit | e53c18da99c75f080bd99436c57824f2ab657f03 (patch) | |
tree | 1efa0c95069530a5444d75ca2947d1c2751d803b /include/linux/platform_data | |
parent | 1ba05c92682fcc6d0ffb2fce5db68fb517278797 (diff) | |
download | linux-stable-e53c18da99c75f080bd99436c57824f2ab657f03.tar.gz linux-stable-e53c18da99c75f080bd99436c57824f2ab657f03.tar.bz2 linux-stable-e53c18da99c75f080bd99436c57824f2ab657f03.zip |
Input: omap-keypad - drop optional GPIO support
The driver supports passing some GPIO lines for rows and columns
through the driver data, but there is no in-kernel user of this.
Further the use seems convoluted because the GPIO lines are unused
in the driver, then explicitly free:ed when removing it without
being requested when probing it, which is assymetric and just
a recepie for disaster.
Remove the support for these unused GPIOs, if need be support can
be reestablished in an organized fashion using GPIO descriptors.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20231129-descriptors-input-v1-3-9433162914a3@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/keypad-omap.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/platform_data/keypad-omap.h b/include/linux/platform_data/keypad-omap.h index 3e7c64c854f4..f3f1311cdf3a 100644 --- a/include/linux/platform_data/keypad-omap.h +++ b/include/linux/platform_data/keypad-omap.h @@ -19,9 +19,6 @@ struct omap_kp_platform_data { bool rep; unsigned long delay; bool dbounce; - /* specific to OMAP242x*/ - unsigned int *row_gpios; - unsigned int *col_gpios; }; /* Group (0..3) -- when multiple keys are pressed, only the |