Re: [PATCH linux-next v2] mips/pci: use devm_platform_ioremap_resource()

From: Philippe Mathieu-Daudé
Date: Fri Dec 02 2022 - 05:44:05 EST


On 2/12/22 03:28, zhang.songyi@xxxxxxxxxx wrote:
From: zhang songyi <zhang.songyi@xxxxxxxxxx>

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@xxxxxxxxxx>
---
arch/mips/pci/pci-rt3883.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>