Skip to content
Commit 5b3e3606 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Vinod Koul
Browse files

dmaengine: uniphier-mdmac: 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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Link: https://lore.kernel.org/r/20190905034133.29514-1-yamada.masahiro@socionext.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 54ecb8f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment