pinctrl: sx150x: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 21 Jul 2020 13:25:37 +0000 (15:25 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 Jul 2020 12:59:36 +0000 (14:59 +0200)
commit0a04d767af8cf1498a73b8f20dc727e2eb74ff28
tree50f1c199ef7be4c57c4b4cb7f733ac7256b8ae22
parentb8e73b5f6ea262b93b4163e1a3748f00867431a1
pinctrl: sx150x: 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>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Cc: Peter Rosin <peda@axentia.se>
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20200721132537.362160-1-linus.walleij@linaro.org
drivers/pinctrl/pinctrl-sx150x.c