bcma: gpio: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Jul 2020 11:17:25 +0000 (13:17 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 2 Aug 2020 15:26:51 +0000 (18:26 +0300)
commita080ecb11ae22f8433b8f88554f1f43e93a97a78
tree5b284bfc7d449449d0ccee8fe0766dab55c718f0
parent92d26d1abf8e4b563bb8d98ce1bf31681364e4a8
bcma: gpio: 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.

Cc: Rafał Miłecki <rafal@milecki.pl>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200722111725.210923-1-linus.walleij@linaro.org
drivers/bcma/driver_gpio.c