pinctrl: bcm-iproc: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Aug 2019 13:25:54 +0000 (15:25 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 21 Aug 2019 07:00:16 +0000 (09:00 +0200)
commit6f265e5d4da7a7de326ced5a7ef8f982dfd44390
treedd45e9e41ab6d09936c4cf3db3f1335b0293a8dc
parent76837e02a2b78c7170819131b1df9fa9e8db2f70
pinctrl: bcm-iproc: 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 more info see
drivers/gpio/TODO.

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

Cc: Pramod Kumar <pramodku@broadcom.com>
Cc: Ray Jui <rjui@broadcom.com>
Cc: Scott Branden <sbranden@broadcom.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20190812132554.18313-1-linus.walleij@linaro.org
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-iproc-gpio.c