]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: stmpe: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2020 10:06:38 +0000 (12:06 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 20 Jul 2020 13:34:17 +0000 (15:34 +0200)
commita27a94d88ad4094a24c1825d8d14926173470447
tree6ea225a1097ddda70391026ca2c4bbace88088fc
parent2e728c047d9fa5d7aea84a487334290b37c14fa2
gpio: stmpe: 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: Patrice Chotard <patrice.chotard@st.com>
Cc: Alexandre TORGUE <alexandre.torgue@st.com>
Link: https://lore.kernel.org/r/20200716100638.112451-1-linus.walleij@linaro.org
drivers/gpio/gpio-stmpe.c