Skip to content

gpiolib: kill gpio_request_one()

Andy Shevchenko linux-arm-kernel linux-doc linux-gpio linux-media linux-mips lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 18 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7ARM: pxa: spitz: Open code gpio_request_one()arch/arm/mach-pxa/spitz_pm.c+2 -10 replies
2/7media: em28xx: Split em28xx_pctv_290e_set_lna_gpio() helperdrivers/media/usb/em28xx/em28xx-dvb.c+14 -171 reply
3/7media: em28xx: Open code gpio_request_one()drivers/media/usb/em28xx/em28xx-dvb.c+5 -91 reply
4/7MIPS: BCM47XX: Open code gpio_request_one()arch/mips/bcm47xx/workarounds.c+5 -31 reply
5/7MIPS: BCM63XX: Remove one time use ephy_reset_gpio_flagsarch/mips/bcm63xx/boards/board_bcm963xx.c arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h+3 -71 reply
6/7MIPS: BCM63XX: Open code gpio_request_one()arch/mips/bcm63xx/boards/board_bcm963xx.c+5 -21 reply
7/7gpiolib: Get rid of not used anymore gpio_request_one()Documentation/driver-api/gpio/consumer.rst drivers/gpio/gpiolib-legacy.c include/linux/gpio/legacy.h+1 -400 replies

Reviews trailers per patch

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

PatchLinus WalleijHans VerkuilThomas Bogendoerfer
SeriesR-b
1/7
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7A-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH v1 0/7] gpiolib: kill gpio_request_one()

This is the finilazation of the work announced in the commit 61e1fd2abca4 ("gpiolib: legacy: Make sure we kill gpio_request_one() first"). With this small series we kill gpio_request_one() and leave only two legacy calls devm_gpio_request_one() and gpio_request(), where the managed one has only a few users and high chances to be killed soon as well.

The series is supposed to go via GPIO tree (due to nature of the last patch) with possible immutable branch for others. Please, ack.

Andy Shevchenko (7):
ARM: pxa: spitz: Open code gpio_request_one()
media: em28xx: Split em28xx_pctv_290e_set_lna_gpio() helper
media: em28xx: Open code gpio_request_one()
MIPS: BCM47XX: Open code gpio_request_one()
MIPS: BCM63XX: Remove one time use ephy_reset_gpio_flags
MIPS: BCM63XX: Open code gpio_request_one()
gpiolib: Get rid of not used anymore gpio_request_one()

 Documentation/driver-api/gpio/consumer.rst    |  2 +-
 arch/arm/mach-pxa/spitz_pm.c                  |  3 +-
 arch/mips/bcm47xx/workarounds.c               |  8 ++-
 arch/mips/bcm63xx/boards/board_bcm963xx.c     | 10 ++--
 .../include/asm/mach-bcm63xx/board_bcm963xx.h |  3 -
 drivers/gpio/gpiolib-legacy.c                 | 31 ----------
 drivers/media/usb/em28xx/em28xx-dvb.c         | 57 ++++++++-----------
 include/linux/gpio/legacy.h                   |  8 ---
 8 files changed, 39 insertions(+), 83 deletions(-)
Signature · 1 line
2.50.1