]> git.baikalelectronics.ru Git - kernel.git/commit
gpio-bcm-kona: use new req/relres and dis/enable_irq funcs
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 8 Sep 2018 09:23:19 +0000 (11:23 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Sep 2018 06:57:36 +0000 (08:57 +0200)
commitf85a9cfe2f6b45dd4d25cdf52dda968652cbbb73
treee65b7b9979a1d6c38d5dac8205aa87d2eaf6c9a1
parentdeda276c095ae4f07f6628667a90b902dad02bdc
gpio-bcm-kona: use new req/relres and dis/enable_irq funcs

Since this driver does not use the gpiolib irqchip helpers it will have to
allocate the irq resources and irq_en/disable itself.

Use the new gpiochip_req/relres_irq helpers to request/release all the
resources.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Ray Jui <rjui@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bcm-kona.c