]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9dc85d2b655a316dd1bebc8224241096baa69741
tree0cd8961ed9968d6a0ba6d02e09916d0669cef89b
parentca6af34185e9f3ab3fa53b10943e0d2134b41f27
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