PCI: dwc: Convert to devm_platform_ioremap_resource_byname()
authorDejin Zheng <zhengdejin5@gmail.com>
Wed, 8 Jul 2020 16:40:13 +0000 (00:40 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 17 Jul 2020 16:15:08 +0000 (17:15 +0100)
commit936fa5cd7b8e3e2a21b434d0f3ac29784ac69791
tree616b839b76a4fb907d74f3b5fc0b105f7e557f6f
parent824001cb64c007129cd8bb95649a3eea9542e870
PCI: dwc: Convert to devm_platform_ioremap_resource_byname()

Use devm_platform_ioremap_resource_byname() to simplify the code
since it contains platform_get_resource_byname() and
devm_ioremap_resource() respectively.

Link: https://lore.kernel.org/r/20200708164013.5076-1-zhengdejin5@gmail.com
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Reviewed-by: Rob Herring <robh@kernel.org>
drivers/pci/controller/dwc/pci-dra7xx.c
drivers/pci/controller/dwc/pci-keystone.c
drivers/pci/controller/dwc/pcie-artpec6.c
drivers/pci/controller/dwc/pcie-designware-plat.c
drivers/pci/controller/dwc/pcie-histb.c
drivers/pci/controller/dwc/pcie-intel-gw.c
drivers/pci/controller/dwc/pcie-kirin.c
drivers/pci/controller/dwc/pcie-qcom.c
drivers/pci/controller/dwc/pcie-uniphier.c