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

From: Marc Zyngier
Date: Thu Sep 05 2019 - 04:29:21 EST


On Thu, 05 Sep 2019 04:49:32 +0100,
Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> 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.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> ---
>
> drivers/irqchip/irq-uniphier-aidet.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)

Applied to irqchip-next.

Thanks,

M.

--
Jazz is not dead, it just smells funny.