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)
commit9745079609dfa14c8d88f88d06d7e720b0f29acd
tree6ea225a1097ddda70391026ca2c4bbace88088fc
parent0fcfd9aa61034ac6f0352520379927bfc6576f1c
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