pinctrl: stmfx: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 21 Jul 2020 13:18:14 +0000 (15:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Aug 2020 23:29:10 +0000 (01:29 +0200)
commit1de39b64bfd9a674f9c5ee21abe8b8ae33fa5a07
tree68d2468aba48f4ab8912b13f45d315006de4df66
parente81376ebbafc679a5cea65f25f5ab242172f52df
pinctrl: stmfx: 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>
Cc: Amelie Delaunay <amelie.delaunay@st.com>
Cc: Benjamin Gaignard <benjamin.gaignard@st.com>
Link: https://lore.kernel.org/r/20200721131814.357182-1-linus.walleij@linaro.org
drivers/pinctrl/pinctrl-stmfx.c