Re: [PATCH -next] PCI: rcar-gen2: Use devm_platform_get_and_ioremap_resource()

From: Krzysztof Wilczyński
Date: Mon Jun 26 2023 - 07:02:57 EST


Hello,

> According to commit 890cc39a8799 ("drivers: provide
> 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.

I took each separate patch:

https://lore.kernel.org/linux-pci/20230323091644.91981-1-yang.lee@xxxxxxxxxxxxxxxxx
https://lore.kernel.org/linux-pci/20230323090431.73526-1-yang.lee@xxxxxxxxxxxxxxxxx
https://lore.kernel.org/linux-pci/20230323090011.66754-1-yang.lee@xxxxxxxxxxxxxxxxx
https://lore.kernel.org/linux-pci/20230323074553.90372-1-yang.lee@xxxxxxxxxxxxxxxxx

Turned into a series and applied against a single branch.

Applied to controller/resources, thank you!

[01/04] PCI: rcar-gen2: Use devm_platform_get_and_ioremap_resource()
https://git.kernel.org/pci/pci/c/8b88299ef429
[02/04] PCI: v3: Use devm_platform_get_and_ioremap_resource()
https://git.kernel.org/pci/pci/c/cc456373aa57
[03/04] PCI: xgene-msi: Use devm_platform_get_and_ioremap_resource()
https://git.kernel.org/pci/pci/c/7a081062046f
[04/04] PCI: imx6: Use devm_platform_get_and_ioremap_resource()
https://git.kernel.org/pci/pci/c/860955d0db7d

Krzysztof