diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-07-22 13:55:17 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-07-23 16:10:25 +0300 |
commit | 82e4613d3d14c6551dd6d96896fd1b9e966afbab (patch) | |
tree | 5ccbce5c65fb768b9b5eedc7c6d039d2f35e843d /drivers/gpio/gpio-stp-xway.c | |
parent | 44b01cf5d24286fe54301dca7a58afb8d01a1deb (diff) | |
download | linux-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-stp-xway.c')
0 files changed, 0 insertions, 0 deletions