pinctrl: mcp23s08: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 21 Jul 2020 12:52:23 +0000 (14:52 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 Jul 2020 13:00:17 +0000 (15:00 +0200)
commit57597e150f1b589046bf0da865eeee2b58792079
treed5ff286aad5df958e3ea87b74689ecace4819822
parent0a04d767af8cf1498a73b8f20dc727e2eb74ff28
pinctrl: mcp23s08: Use irqchip template

This makes the driver use the irqchip template to assign
properties to the gpio_irq_chip instead of using the
explicit calls to gpiochip_irqchip_add_nested() and
gpiochip_set_nested_irqchip(). The irqchip is instead
added while adding the gpiochip.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Jan Kundrát <jan.kundrat@cesnet.cz>
Cc: Phil Reid <preid@electromag.com.au>
Cc: Lars Poeschel <poeschel@lemonage.de>
Cc: Jason Kridner <jkridner@gmail.com>
Link: https://lore.kernel.org/r/20200721125223.344411-1-linus.walleij@linaro.org
drivers/pinctrl/pinctrl-mcp23s08.c