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: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
parent
b34ece9d
Please register or sign in to comment