Skip to content
Commit eba9df1d authored by Yang Yingliang's avatar Yang Yingliang Committed by Yongxin Liu
Browse files

net: stmmac: Use devm_platform_ioremap_resource_byname()

commit 3a5a32b5

 upstream.

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

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarYongxin Liu <yongxin.liu@windriver.com>
parent b34ece9d
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