Skip to content
Commit 52481e58 authored by Yang Yingliang's avatar Yang Yingliang Committed by David S. Miller
Browse files

sh_eth: Use devm_platform_get_and_ioremap_resource()



Use devm_platform_get_and_ioremap_resource() to simplify
code.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarSergei Shtylyov <sergei.shtylyov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5b38b97f
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