mbox series

[0/4] Convert some input drivers to use GPIO descriptors

Message ID 20231129-descriptors-input-v1-0-9433162914a3@linaro.org
Headers show
Series Convert some input drivers to use GPIO descriptors | expand

Message

Linus Walleij Nov. 29, 2023, 1:51 p.m. UTC
This clears out some oddities with unused GPIOs, or unused
platform data GPIOs passed around in the input subsystem.

This is done to get rid of bad examples and step-wise make
it possible to remove <linux/gpio.h>, see
drivers/gpio/TODO.

Cc   <linux-omap@vger.kernel.org>

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (4):
      Input: navpoint - Convert to use GPIO descriptor
      Input: tca6416-keypad - Drop unused include
      Input: omap-keypad - Drop optional GPIO support
      Input: as5011 - Convert to GPIO descriptor

 drivers/input/joystick/as5011.c           | 24 +++++++++---------
 drivers/input/keyboard/omap-keypad.c      | 16 +-----------
 drivers/input/keyboard/tca6416-keypad.c   |  1 -
 drivers/input/mouse/navpoint.c            | 41 +++++++++++--------------------
 include/linux/input/as5011.h              |  1 -
 include/linux/input/navpoint.h            |  1 -
 include/linux/platform_data/keypad-omap.h |  3 ---
 7 files changed, 27 insertions(+), 60 deletions(-)
---
base-commit: 226edd1152ffe82c080d8ddf5faef69278447c9b
change-id: 20231129-descriptors-input-0432d7f805a6

Best regards,

Comments

Tony Lindgren Nov. 30, 2023, 12:15 p.m. UTC | #1
* Linus Walleij <linus.walleij@linaro.org> [231129 13:51]:
> Remove the support for these unused GPIOs, if need be support can
> be reestablished in an organized fashion using GPIO descriptors.

Sounds good to me:

Reviewed-by: Tony Lindgren <tony@atomide.com>