Skip to content
Commit e89febc7 authored by Baolin Wang's avatar Baolin Wang Committed by Linus Walleij
Browse files

pinctrl: sprd: Change to use devm_platform_ioremap_resource()



The devm_platform_ioremap_resource() function wraps platform_get_resource()
and devm_ioremap_resource() in a single helper, thus use it to simplify
the code.

Signed-off-by: default avatarBaolin Wang <baolin.wang@linaro.org>
Link: https://lore.kernel.org/r/ff410d312ed0047b5a36e5113daf7df78bcf1aa8.1564048446.git.baolin.wang@linaro.org


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent db5b44f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment