MIPS: pci-mt7620: Use devm_platform_get_and_ioremap_resource()
authorYe Xingchen <ye.xingchen@zte.com.cn>
Wed, 8 Feb 2023 02:48:03 +0000 (10:48 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 9 Feb 2023 12:04:57 +0000 (13:04 +0100)
commit663bf6abe732e13af5d4e4d9a123d59b05c586e1
tree2f85630aad4956028a599efdd04ba9a397abd6c1
parent7c035a187c51f6b10badc2b9c51b60ed8cddd11c
MIPS: pci-mt7620: Use devm_platform_get_and_ioremap_resource()

Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/pci/pci-mt7620.c