Merge branch 'pci/host-faraday' into next

* pci/host-faraday:
  PCI: faraday: Fix wrong pointer passed to PTR_ERR()
This commit is contained in:
Bjorn Helgaas 2017-11-14 12:11:29 -06:00
commit 807dcfee42
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ static int faraday_pci_probe(struct platform_device *pdev)
}
p->bus_clk = devm_clk_get(dev, "PCICLK");
if (IS_ERR(p->bus_clk))
return PTR_ERR(clk);
return PTR_ERR(p->bus_clk);
ret = clk_prepare_enable(p->bus_clk);
if (ret) {
dev_err(dev, "could not prepare PCICLK\n");