summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-pca9570.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-07-22 13:55:17 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-07-23 16:10:25 +0300
commit82e4613d3d14c6551dd6d96896fd1b9e966afbab (patch)
tree5ccbce5c65fb768b9b5eedc7c6d039d2f35e843d /drivers/gpio/gpio-pca9570.c
parent44b01cf5d24286fe54301dca7a58afb8d01a1deb (diff)
downloadlinux-82e4613d3d14c6551dd6d96896fd1b9e966afbab.tar.xz
gpio: 104-idio-16: Use irqchip template
This makes the driver use the irqchip template to assign properties to the gpio_irq_chip instead of using the explicit call to gpiochip_irqchip_add(). The irqchip is instead added while adding the gpiochip. Also move the IRQ initialization to the special .init_hw() callback. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com> Cc: William Breathitt Gray <vilhelm.gray@gmail.com> Link: https://lore.kernel.org/r/20200722105517.186137-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpio/gpio-pca9570.c')
0 files changed, 0 insertions, 0 deletions