MIPS: pci: use devm_platform_ioremap_resource_byname
authorZhang Qilong <zhangqilong3@huawei.com>
Thu, 17 Sep 2020 07:46:22 +0000 (15:46 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 18 Sep 2020 13:29:35 +0000 (15:29 +0200)
commitb0a1c2903b5f43861a78a25fe4f389d99607ae04
tree7d8d15ac6aedf1a07f5e566d4c750320f65fea04
parent38a6445cab6ba4bf6b32f28552d2a7d87dc4414a
MIPS: pci: use devm_platform_ioremap_resource_byname

Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/pci/pci-ar2315.c
arch/mips/pci/pci-ar71xx.c
arch/mips/pci/pci-ar724x.c