PCI: controller: Convert to devm_platform_ioremap_resource()
authorDejin Zheng <zhengdejin5@gmail.com>
Wed, 8 Jul 2020 15:56:14 +0000 (23:56 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 10 Jul 2020 10:50:23 +0000 (11:50 +0100)
commit3cf0eead9fb895dd91fc1fea0114ca0068d1c1a3
tree107aec946adce5e80924a180d1cb3566777d2de8
parente2dcd20b1645a7285b304bf6b9a1a6637f0f254a
PCI: controller: Convert to devm_platform_ioremap_resource()

Use devm_platform_ioremap_resource() to simplify the code, since t
contains platform_get_resource() and devm_ioremap_resource() calls
respectively.

Link: https://lore.kernel.org/r/20200708155614.308-1-zhengdejin5@gmail.com
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
drivers/pci/controller/dwc/pci-exynos.c
drivers/pci/controller/pci-aardvark.c
drivers/pci/controller/pci-ftpci100.c
drivers/pci/controller/pci-versatile.c
drivers/pci/controller/pcie-brcmstb.c