net: axienet: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 10 Jun 2021 07:36:22 +0000 (15:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2021 20:53:13 +0000 (13:53 -0700)
commit47651c51c02fc4937b39b2d2207aa0d9d26a4b58
tree5caba557b35385bb570367275cf5b4bf8cf037f0
parent0b462d017caff780f4922872c7098b193feee8b6
net: axienet: Use devm_platform_get_and_ioremap_resource()

Use devm_platform_get_and_ioremap_resource() to simplify
code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c