diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2020-08-05 18:24:22 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-08-05 18:24:22 -0500 |
commit | 6f119ec8d9c8f68c0432d902312045a699c3e52a (patch) | |
tree | 37a77220c6301b947b778a45e314719e20028a79 /drivers/pci/controller/dwc/pcie-histb.c | |
parent | 65c2bc6ce972e7aee1523a0702d0eeac0570a01f (diff) | |
parent | caecb05c800081c57907749f787f05f62011564e (diff) |
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/pcie-histb.c')
-rw-r--r-- | drivers/pci/controller/dwc/pcie-histb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/controller/dwc/pcie-histb.c b/drivers/pci/controller/dwc/pcie-histb.c index 6d3524c39a9b..2a2835746077 100644 --- a/drivers/pci/controller/dwc/pcie-histb.c +++ b/drivers/pci/controller/dwc/pcie-histb.c @@ -399,10 +399,8 @@ static int histb_pcie_probe(struct platform_device *pdev) if (IS_ENABLED(CONFIG_PCI_MSI)) { pp->msi_irq = platform_get_irq_byname(pdev, "msi"); - if (pp->msi_irq < 0) { - dev_err(dev, "Failed to get MSI IRQ\n"); + if (pp->msi_irq < 0) return pp->msi_irq; - } } hipcie->phy = devm_phy_get(dev, "phy"); |