Re: [PATCH v1] PCI: dwc: convert to devm_platform_ioremap_resource_byname()

From: Rob Herring
Date: Mon Jun 01 2020 - 18:18:39 EST


On Fri, 29 May 2020 00:15:10 +0800, Dejin Zheng wrote:
> Use devm_platform_ioremap_resource_byname() to simplify codes.
> it contains platform_get_resource_byname() and devm_ioremap_resource().
>
> Signed-off-by: Dejin Zheng <zhengdejin5@xxxxxxxxx>
> ---
> drivers/pci/controller/dwc/pci-dra7xx.c | 11 ++++-------
> drivers/pci/controller/dwc/pci-keystone.c | 7 +++----
> drivers/pci/controller/dwc/pcie-artpec6.c | 12 ++++--------
> .../pci/controller/dwc/pcie-designware-plat.c | 3 +--
> drivers/pci/controller/dwc/pcie-histb.c | 7 ++-----
> drivers/pci/controller/dwc/pcie-intel-gw.c | 7 ++-----
> drivers/pci/controller/dwc/pcie-kirin.c | 17 ++++++-----------
> drivers/pci/controller/dwc/pcie-qcom.c | 6 ++----
> drivers/pci/controller/dwc/pcie-uniphier.c | 3 +--
> 9 files changed, 25 insertions(+), 48 deletions(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>