diff options
author | Dejin Zheng <zhengdejin5@gmail.com> | 2020-05-26 17:09:54 +0200 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-07-23 12:08:43 +0200 |
commit | da30e8bc9accaf74505bff4b16b792a01d6d1c0b (patch) | |
tree | 490e2e9eb0707550af904644139a8d1d45f1acf7 /drivers/pci/controller/dwc/pcie-armada8k.c | |
parent | PCI: controller: Convert to devm_platform_ioremap_resource() (diff) | |
download | linux-da30e8bc9accaf74505bff4b16b792a01d6d1c0b.tar.xz linux-da30e8bc9accaf74505bff4b16b792a01d6d1c0b.zip |
PCI: controller: Remove duplicate error message
devm_pci_remap_cfg_resource() will print an error message by itself when
goes wrong, so remove the duplicate error message.
Link: https://lore.kernel.org/r/20200526150954.4729-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>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-armada8k.c')
-rw-r--r-- | drivers/pci/controller/dwc/pcie-armada8k.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pcie-armada8k.c b/drivers/pci/controller/dwc/pcie-armada8k.c index 49596547e8c2..896b95d6917c 100644 --- a/drivers/pci/controller/dwc/pcie-armada8k.c +++ b/drivers/pci/controller/dwc/pcie-armada8k.c @@ -317,7 +317,6 @@ static int armada8k_pcie_probe(struct platform_device *pdev) base = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ctrl"); pci->dbi_base = devm_pci_remap_cfg_resource(dev, base); if (IS_ERR(pci->dbi_base)) { - dev_err(dev, "couldn't remap regs base %p\n", base); ret = PTR_ERR(pci->dbi_base); goto fail_clkreg; } |