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)
commit0d04d0c146786da42c6e68c7d2f09c956c5b5bd3
tree036003bab5e527ad45dcfbbd5c1a8f4e55dde9a0
parent2bd1298ac17777525a41c8425521f569e412df14
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