]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb4d105194334b932258f2017a13a09ccc2d4ddd
tree68d2468aba48f4ab8912b13f45d315006de4df66
parent8bafe4febe9fb724384f83dbd49aceeb85d32e6e
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