Home
last modified time | relevance | path

Searched hist:fceb7ab3854b7b8d13d771b9164ef0be546af673 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-ws16c48.cdiff fceb7ab3854b7b8d13d771b9164ef0be546af673 Wed Jul 22 12:19:38 CEST 2020 Linus Walleij <linus.walleij@linaro.org> 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