Skip to content
Commit 48548c78 authored by Wang Xiaojun's avatar Wang Xiaojun Committed by Linus Walleij
Browse files

pinctrl: mediatek: use devm_platform_ioremap_resource_byname()



Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately.

Signed-off-by: default avatarWang Xiaojun <wangxiaojun11@huawei.com>
Acked-by: default avatarSean Wang <sean.wang@kernel.org>
Link: https://lore.kernel.org/r/20200917064151.2184010-1-wangxiaojun11@huawei.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 98a40a34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment