net: mdio: ipq8064: replace ioremap() with devm_ioremap()
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 26 Nov 2021 09:13:40 +0000 (17:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2021 12:02:49 +0000 (12:02 +0000)
commit2f7ed29f2c54ace09eb09e3f97fd573a31b79309
tree8ddb203f7d5ebbed12bc71e264a17b4bc5599f34
parentd40ce48cb3a68b54be123a1f99157c5ac613e260
net: mdio: ipq8064: replace ioremap() with devm_ioremap()

Use devm_ioremap() instead of ioremap() to avoid iounmap() missing.

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