net: hisilicon: Use devm_platform_ioremap_resource
authorJiangfeng Xiao <xiaojiangfeng@huawei.com>
Fri, 12 Jul 2019 13:16:24 +0000 (21:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jul 2019 22:37:18 +0000 (15:37 -0700)
commit56170ba3bd90986e44f96ada9573dfe583621fca
tree0cd8961ed9968d6a0ba6d02e09916d0669cef89b
parent752c2ea2d8e7c23b0f64e2e7d4337f3604d44c9f
net: hisilicon: Use devm_platform_ioremap_resource

Use devm_platform_ioremap_resource instead of
devm_ioremap_resource. Make the code simpler.

Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hip04_eth.c
drivers/net/ethernet/hisilicon/hisi_femac.c
drivers/net/ethernet/hisilicon/hix5hd2_gmac.c
drivers/net/ethernet/hisilicon/hns_mdio.c