irqchip/uniphier-aidet: Use devm_platform_ioremap_resource()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 5 Sep 2019 03:49:32 +0000 (12:49 +0900)
committerMarc Zyngier <maz@kernel.org>
Thu, 5 Sep 2019 08:28:13 +0000 (09:28 +0100)
commite89327f659dd517f30b6232b1fabd6f6c6777c3e
tree02b5b822ddc15825249a68cde2a5689e10d06dee
parent711419e504ebd68c8f03656616829c8ad7829389
irqchip/uniphier-aidet: Use devm_platform_ioremap_resource()

Replace the chain of platform_get_resource() and devm_ioremap_resource()
with devm_platform_ioremap_resource().

This allows to remove the local variable for (struct resource *), and
have one function call less.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20190905034932.12587-1-yamada.masahiro@socionext.com
drivers/irqchip/irq-uniphier-aidet.c