gpio: wcove: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Jul 2020 15:19:55 +0000 (17:19 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Jul 2020 13:00:27 +0000 (16:00 +0300)
commit22f61d4e6fea30bd571474c7ad335f8f1f609abf
tree918ee3b580784229cbf92a4e54554b44b626a3cd
parent945e72db36bd12767601b332b2aa50c888537afa
gpio: wcove: 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.

Cc: Bin Gao <bin.gao@linux.intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-wcove.c