commit | aee5cec5bb27d8d3c2c13f371d156e5879309d0e | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Jun 25 13:57:33 2019 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jun 27 17:41:33 2019 +0100 |
tree | e760e1a28459c32804b9824bc6bcb84eeb37d255 | |
parent | a4de43049a1d0e2ed2a1d95e18e74b82cd9ca058 [diff] |
gpio: ath79: 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. Take this opportunity to add a local dev pointer and use devm_gpiochip_add() so we can get rid of the remove() callback altogether. Cc: linux-mips@linux-mips.org Acked-by: Alban Bedel <albeu@free.fr> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>