summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-loongson1.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-07-22 12:48:20 +0200
committerLinus Walleij <linus.walleij@linaro.org>2020-07-23 15:09:54 +0200
commit44b01cf5d24286fe54301dca7a58afb8d01a1deb (patch)
treed03a6dfcf79d44a645daf0791f16378088b2ed6d /drivers/gpio/gpio-loongson1.c
parent2fa1d392cdf49d9785f2fc67acca3c8db9a99036 (diff)
downloadlwn-44b01cf5d24286fe54301dca7a58afb8d01a1deb.tar.gz
lwn-44b01cf5d24286fe54301dca7a58afb8d01a1deb.zip
gpio: 104-idi-48: 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/20200722104820.174654-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpio/gpio-loongson1.c')
0 files changed, 0 insertions, 0 deletions