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

Andy Shevchenko andriy.shevchenko at linux.intel.com
Thu Mar 7 05:49:02 PST 2024


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(-)

-- 
2.43.0.rc1.1.gbec44491f096




More information about the linux-arm-kernel mailing list