gpio: Expose the gpiochip_irq_re[ql]res helpers
authorMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:18:38 +0000 (15:18 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:22:25 +0000 (15:22 +0100)
commit704f08753b6dcd0e08c1953af0b2c7f3fac87111
tree622d996cb7cf7351f9e9d9003f1769016f79d26e
parent6c846d026d490b2383d395bc8e7b06336219667b
gpio: Expose the gpiochip_irq_re[ql]res helpers

The GPIO subsystem has a couple of internal helpers to manage
resources on behalf of the irqchip. Expose them so that GPIO
drivers can use them directly.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220419141846.598305-3-maz@kernel.org
drivers/gpio/gpiolib.c
include/linux/gpio/driver.h