net: mdio-ipq4019: Make use of devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 31 Aug 2021 07:56:58 +0000 (15:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Aug 2021 11:05:51 +0000 (12:05 +0100)
commitfa14d03e014a130839f9dc1b97ea61fe598d873d
tree83ab57eb3db0433557ff2f29b77bc1e18aea34b0
parent8d65cd8d25fa23951171094553901d69a88ccdff
net: mdio-ipq4019: Make use of devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-ipq4019.c