mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04: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:
commit
807dcfee42
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue