diff options
Diffstat (limited to 'drivers/pci/host')
-rw-r--r-- | drivers/pci/host/pcie-spear13xx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/host/pcie-spear13xx.c b/drivers/pci/host/pcie-spear13xx.c index 60f43cd96854..2ca10cc887ee 100644 --- a/drivers/pci/host/pcie-spear13xx.c +++ b/drivers/pci/host/pcie-spear13xx.c | |||
@@ -309,10 +309,8 @@ static int __init spear13xx_pcie_probe(struct platform_device *pdev) | |||
309 | int ret; | 309 | int ret; |
310 | 310 | ||
311 | spear13xx_pcie = devm_kzalloc(dev, sizeof(*spear13xx_pcie), GFP_KERNEL); | 311 | spear13xx_pcie = devm_kzalloc(dev, sizeof(*spear13xx_pcie), GFP_KERNEL); |
312 | if (!spear13xx_pcie) { | 312 | if (!spear13xx_pcie) |
313 | dev_err(dev, "no memory for SPEAr13xx pcie\n"); | ||
314 | return -ENOMEM; | 313 | return -ENOMEM; |
315 | } | ||
316 | 314 | ||
317 | spear13xx_pcie->phy = devm_phy_get(dev, "pcie-phy"); | 315 | spear13xx_pcie->phy = devm_phy_get(dev, "pcie-phy"); |
318 | if (IS_ERR(spear13xx_pcie->phy)) { | 316 | if (IS_ERR(spear13xx_pcie->phy)) { |