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)
commit1c939cb556b99519cc5e75b66543ac499acfd781
treee65b7b9979a1d6c38d5dac8205aa87d2eaf6c9a1
parent4f8183ae7092fe3a6985b9a10a5d7f3efa01b097
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