MIPS: pci: lantiq: Use devm_platform_get_and_ioremap_resource()
authorYe Xingchen <ye.xingchen@zte.com.cn>
Wed, 8 Feb 2023 02:46:39 +0000 (10:46 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 9 Feb 2023 12:04:30 +0000 (13:04 +0100)
commit7c035a187c51f6b10badc2b9c51b60ed8cddd11c
tree6e99855e53fb2693a4eb0d9a4b30623bc4969f56
parent00c11b40e6b1e36d671fccc1bd82d1dfdfd2605e
MIPS: pci: lantiq: 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-lantiq.c