Re: [PATCH] irqchip: uniphier-aidet: use devm_platform_ioremap_resource()

2019-09-05 Thread Marc Zyngier
On Thu, 05 Sep 2019 04:49:32 +0100, Masahiro Yamada wrote: > > 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. > >

[PATCH] irqchip: uniphier-aidet: use devm_platform_ioremap_resource()

2019-09-04 Thread Masahiro Yamada
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 --- drivers/irqchip/irq-uniphier-aidet.c | 4 +---