OSDN Git Service

gpio: altera: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 25 Jun 2019 11:35:32 +0000 (13:35 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Jul 2019 08:24:12 +0000 (10:24 +0200)
commit2617790f0f94422d9773a3f34c694bc3be09ce8b
treed9e8992842061313d98b1a9f1b15a06291f934ea
parent8b29450437d7e3a507d8421621b02fcaa2368637
gpio: altera: Pass irqchip when adding gpiochip

We need to convert all old gpio irqchips to pass the irqchip
setup along when adding the gpio_chip.

For chained irqchips this is a pretty straight-forward
conversion.

Cc: Ley Foon Tan <lftan@altera.com>
Cc: Tien Hock Loh <thloh@altera.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-altera.c