Skip to content

Unify gpiod_get*() API

Andy Shevchenko linux-gpio 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 11 repliesIn review
  2. v13 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- append Mika's tags

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gpiolib: Switch to for_each_set_bit()drivers/gpio/gpiolib.c+6 -121 reply
2/3gpiolib: Update documentation of struct acpi_gpio_infodrivers/gpio/gpiolib-acpi.c drivers/gpio/gpiolib.h+4 -42 replies
3/3gpiolib: Convert fwnode_get_named_gpiod() to configure GPIOdrivers/gpio/devres.c drivers/gpio/gpiolib.c drivers/input/keyboard/gpio_keys.c +4 more+45 -408 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMika Westerberg
1/3R-b
2/3A-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Unify gpiod_get*() API

By some reason fwnode_get_named_gpiod() doesn't take flags as argument and each caller has to cope with it.

Unify API here. Do couple obvious clean ups beforehand.

Since v1:
- append Mika's tags

Andy Shevchenko (3):
gpiolib: Switch to for_each_set_bit()
gpiolib: Update documentation of struct acpi_gpio_info
gpiolib: Convert fwnode_get_named_gpiod() to configure GPIO

 drivers/gpio/devres.c                     |  9 ++++++--
 drivers/gpio/gpiolib-acpi.c               |  5 ++--
 drivers/gpio/gpiolib.c                    | 38 ++++++++++++++++++-------------
 drivers/gpio/gpiolib.h                    |  3 ++-
 drivers/input/keyboard/gpio_keys.c        |  9 +-------
 drivers/input/keyboard/gpio_keys_polled.c | 11 ++-------
 drivers/leds/leds-gpio.c                  |  2 +-
 drivers/video/fbdev/amba-clcd-nomadik.c   | 15 ++++--------
 include/linux/gpio/consumer.h             | 19 +++++++++++-----
 9 files changed, 55 insertions(+), 56 deletions(-)
Signature · 1 line
2.11.0