Skip to content

gpiolib: Add and utilise for_each_gpio_property_name()

Andy Shevchenko linux-acpi linux-gpio lkml 2 versions Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 3 repliesApplied
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- fixed a rebase issue (LKP)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5gpiolib: Introduce for_each_gpio_property_name() helperdrivers/gpio/gpiolib-acpi.c drivers/gpio/gpiolib-of.c drivers/gpio/gpiolib.h+19 -400 replies
2/5gpiolib: swnode: Unify return code variable namedrivers/gpio/gpiolib-swnode.c+4 -40 replies
3/5gpiolib: swnode: Introduce swnode_gpio_get_reference() helperdrivers/gpio/gpiolib-swnode.c+13 -70 replies
4/5gpiolib: swnode: Make use of for_each_gpio_property_name()drivers/gpio/gpiolib-swnode.c+14 -240 replies
5/5gpiolib: Replace gpio_suffix_count with NULL-terminated arraydrivers/gpio/gpiolib.c drivers/gpio/gpiolib.h+6 -80 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRafael J. Wysocki
SeriesA-b
1/5
2/5
3/5
4/5
5/5

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/5] gpiolib: Add and utilise for_each_gpio_property_name()

There are a few of duplication of the same for-loop against GPIO suffixes. This series addresses that along with proposal to eliminate the exported gpio_suffix_count by converting the array to be NULL-terminated.

v2:
- fixed a rebase issue (LKP)

Andy Shevchenko (5):
gpiolib: Introduce for_each_gpio_property_name() helper
gpiolib: swnode: Unify return code variable name
gpiolib: swnode: Introduce swnode_gpio_get_reference() helper
gpiolib: swnode: Make use of for_each_gpio_property_name()
gpiolib: Replace gpio_suffix_count with NULL-terminated array

 drivers/gpio/gpiolib-acpi.c   | 21 ++----------
 drivers/gpio/gpiolib-of.c     | 25 +++------------
 drivers/gpio/gpiolib-swnode.c | 60 ++++++++++++++++-------------------
 drivers/gpio/gpiolib.c        |  3 +-
 drivers/gpio/gpiolib.h        | 16 ++++++++--
 5 files changed, 49 insertions(+), 76 deletions(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac