]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: thunderx: Use the default parent apis for {request,release}_resources
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 30 Apr 2019 10:12:23 +0000 (15:42 +0530)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 1 May 2019 09:41:38 +0000 (10:41 +0100)
commit186695a8a09fa008e0337fc610309ea6041d7f49
tree036003bab5e527ad45dcfbbd5c1a8f4e55dde9a0
parentf7bd0639be598040b894748dc3e57356f588099f
gpio: thunderx: Use the default parent apis for {request,release}_resources

thunderx_gpio_irq_{request,release}_resources apis are trying to
{request,release} resources on parent interrupt. There are default
apis doing the same. Use the default parent apis instead of writing
the same code snippet.

Cc: linux-gpio@vger.kernel.org
Cc: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/gpio/gpio-thunderx.c