]> git.baikalelectronics.ru Git - kernel.git/commit
staging: greybus: gpio: Use irqchip template
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Jul 2020 07:44:14 +0000 (09:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Jul 2020 08:05:33 +0000 (10:05 +0200)
commitef0740cffcec50cb7387b713b10ce7803ef5dde8
tree93810baa66810226003eaa6f5d9fd735c270d6ba
parent18aa04e9593799231f3e7dccc817f5b1847a85f8
staging: greybus: gpio: 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.

Cc: Nishad Kamdar <nishadkamdar@gmail.com>
Cc: Johan Hovold <johan@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20200722074414.48457-1-linus.walleij@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/gpio.c