mirror of
https://github.com/torvalds/linux.git
synced 2026-02-04 15:28:49 +08:00
Merge branch 'pci/host-faraday' into next
* pci/host-faraday: PCI: faraday: Fix wrong pointer passed to PTR_ERR()
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user