Skip to content

gpio: Introduce helper to dispose IRQ mappings

Andy Shevchenko linux-gpio lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gpiolib: Introduce devm_gpiochip_dispose_irq_mappings()drivers/gpio/gpiolib-devres.c include/linux/gpio/driver.h+37 -00 replies
2/3gpio: mockup: Replace custom devm_gpiochip_dispose_irq_mappings()drivers/gpio/gpio-mockup.c+1 -141 reply
3/3gpio: sim: Replace custom devm_gpiochip_dispose_irq_mappings()drivers/gpio/gpio-sim.c+4 -131 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchLinus Walleij
1/3
2/3R-b
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] gpio: Introduce helper to dispose IRQ mappings

I have noticed that a few drivers use almost the same code to dispose IRQ mappings. This series to deduplicate the efforts. I only converted a couple of the users (there are potentially more) in order to stay in the same subsystem.

Andy Shevchenko (3):
gpiolib: Introduce devm_gpiochip_dispose_irq_mappings()
gpio: mockup: Replace custom devm_gpiochip_dispose_irq_mappings()
gpio: sim: Replace custom devm_gpiochip_dispose_irq_mappings()

 drivers/gpio/gpio-mockup.c    | 15 +--------------
 drivers/gpio/gpio-sim.c       | 17 ++++-------------
 drivers/gpio/gpiolib-devres.c | 33 +++++++++++++++++++++++++++++++++
 include/linux/gpio/driver.h   |  4 ++++
 4 files changed, 42 insertions(+), 27 deletions(-)
Signature · 1 line
2.50.1