mips/pci: use devm_platform_ioremap_resource()
authorzhang songyi <zhang.songyi@zte.com.cn>
Fri, 2 Dec 2022 02:28:15 +0000 (10:28 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 2 Dec 2022 15:48:52 +0000 (16:48 +0100)
commitb43340ddaea3abafe5d4cdc50b03342fa6ba9a73
treebf7a54f9d554fcddcd0f0c4eb375d65ddbddb912
parent7c18b64bba3bcad1be94b404f47b94a04b91ce79
mips/pci: use devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/pci/pci-rt3883.c