]> git.itanic.dy.fi Git - linux-stable/commit
Input: omap-keypad - drop optional GPIO support
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Dec 2023 07:06:55 +0000 (23:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Dec 2023 05:26:13 +0000 (21:26 -0800)
commite53c18da99c75f080bd99436c57824f2ab657f03
tree1efa0c95069530a5444d75ca2947d1c2751d803b
parent1ba05c92682fcc6d0ffb2fce5db68fb517278797
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>
drivers/input/keyboard/omap-keypad.c
include/linux/platform_data/keypad-omap.h