net: dsa: vsc73xx: convert to devm_platform_ioremap_resource
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 8 May 2020 10:11:14 +0000 (10:11 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 May 2020 05:28:24 +0000 (22:28 -0700)
commitda384effb1609b1333d475e9d4b318913b3d194b
tree2d6c15d1f0c02c9631e1b2ac3d136178d51077e8
parent3712c1c2ef2a0cbca633d150e568deb8f63a6f29
net: dsa: vsc73xx: convert to devm_platform_ioremap_resource

Use the helper function that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/vitesse-vsc73xx-platform.c