]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: dln2: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Jul 2020 07:34:26 +0000 (09:34 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 Jul 2020 13:03:25 +0000 (15:03 +0200)
commit355ef59170c8456aac8700da54911370d57533f6
treec55e91baf7d06810ba1b965b8bef9d404da2a0f1
parent719f50b36b50080753f15b86fd47ac104ab2347e
gpio: dln2: 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(). The irqchip is
instead added while adding the gpiochip.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>
Cc: Octavian Purdila <octavian.purdila@nxp.com>
Link: https://lore.kernel.org/r/20200722073426.38890-1-linus.walleij@linaro.org
drivers/gpio/gpio-dln2.c