]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: crystalcove: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 21 Jul 2020 14:01:53 +0000 (16:01 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Jul 2020 13:00:27 +0000 (16:00 +0300)
commit9b022a95c9117b0054d13f3b294cdc11e9d4fa20
tree763a1f9a34168a7afe9b8d2beff07ec5ab9c43f0
parentd27b81daa233f2ff55cd4847141a29d33b38a6f4
gpio: crystalcove: 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-crystalcove.c