summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-104-dio-48e.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-07-22 13:19:38 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-07-23 16:08:55 +0300
commitfceb7ab3854b7b8d13d771b9164ef0be546af673 (patch)
tree1be2495fd8463905e7e02e63ba223a0551a8f9c2 /drivers/gpio/gpio-104-dio-48e.c
parentbde8c0e64c78633612aaf283692f72bef0bbc549 (diff)
downloadlinux-fceb7ab3854b7b8d13d771b9164ef0be546af673.tar.xz
gpio: ws16c48: 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/20200722101938.151265-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpio/gpio-104-dio-48e.c')
0 files changed, 0 insertions, 0 deletions