Skip to content

gpiolib: Get rid of gpio_free_array()/gpio_request_array()

Andy Shevchenko linux-arm-kernel linux-doc linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: pxa: spitz: Open code gpio_request_array()arch/arm/mach-pxa/spitz_pm.c+12 -100 replies
2/3ARM: sa1100: Open code gpio_request_array()arch/arm/mach-sa1100/h3600.c+36 -110 replies
3/3gpiolib: legacy: Remove unused gpio_request_array() and gpio_free_array()Documentation/driver-api/gpio/legacy.rst Documentation/translations/zh_CN/driver-api/gpio/legacy.rst Documentation/translations/zh_TW/gpio.txt +2 more+0 -1031 reply

Reviews trailers per patch

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

PatchLinus WalleijYanteng Si
SeriesR-b
1/3
2/3
3/3R-b

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

Read the v1 thread

Cover letter [PATCH v1 0/3] gpiolib: Get rid of gpio_free_array()/gpio_request_array()

There are only two users left of the gpio_free_array()/gpio_request_array(). Convert them to very basic legacy APIs (it requires much less work for now) and drop no more used gpio_free_array()/gpio_request_array().

(Not tested)

Andy Shevchenko (3):
ARM: pxa: spitz: Open code gpio_request_array()
ARM: sa1100: Open code gpio_request_array()
gpiolib: legacy: Remove unused gpio_request_array() and
gpio_free_array()

 Documentation/driver-api/gpio/legacy.rst      | 16 -------
 .../zh_CN/driver-api/gpio/legacy.rst          | 16 -------
 Documentation/translations/zh_TW/gpio.txt     | 17 -------
 arch/arm/mach-pxa/spitz_pm.c                  | 22 +++++----
 arch/arm/mach-sa1100/h3600.c                  | 47 ++++++++++++++-----
 drivers/gpio/gpiolib-legacy.c                 | 39 ---------------
 include/linux/gpio.h                          | 15 ------
 7 files changed, 48 insertions(+), 124 deletions(-)
Signature · 1 line
2.43.0.rc1.1.gbec44491f096