summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pci-dra7xx.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2020-08-06 02:24:22 +0300
committerBjorn Helgaas <bhelgaas@google.com>2020-08-06 02:24:22 +0300
commit6f119ec8d9c8f68c0432d902312045a699c3e52a (patch)
tree37a77220c6301b947b778a45e314719e20028a79 /drivers/pci/controller/dwc/pci-dra7xx.c
parent65c2bc6ce972e7aee1523a0702d0eeac0570a01f (diff)
parentcaecb05c800081c57907749f787f05f62011564e (diff)
downloadlinux-6f119ec8d9c8f68c0432d902312045a699c3e52a.tar.xz
Merge branch 'pci/irq-error'
- Remove redundant logging for platform_get_irq() errors (Krzysztof WilczyƄski) * pci/irq-error: PCI: Remove dev_err() when handing an error from platform_get_irq()
Diffstat (limited to 'drivers/pci/controller/dwc/pci-dra7xx.c')
-rw-r--r--drivers/pci/controller/dwc/pci-dra7xx.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/pci/controller/dwc/pci-dra7xx.c b/drivers/pci/controller/dwc/pci-dra7xx.c
index 5fda5f4d68b1..dc387724cf08 100644
--- a/drivers/pci/controller/dwc/pci-dra7xx.c
+++ b/drivers/pci/controller/dwc/pci-dra7xx.c
@@ -627,10 +627,8 @@ static int __init dra7xx_add_pcie_port(struct dra7xx_pcie *dra7xx,
struct device *dev = pci->dev;
pp->irq = platform_get_irq(pdev, 1);
- if (pp->irq < 0) {
- dev_err(dev, "missing IRQ resource\n");
+ if (pp->irq < 0)
return pp->irq;
- }
ret = dra7xx_pcie_init_irq_domain(pp);
if (ret < 0)
@@ -868,10 +866,8 @@ static int __init dra7xx_pcie_probe(struct platform_device *pdev)
pci->ops = &dw_pcie_ops;
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(dev, "missing IRQ resource: %d\n", irq);
+ if (irq < 0)
return irq;
- }
base = devm_platform_ioremap_resource_byname(pdev, "ti_conf");
if (IS_ERR(base))