phy: core: Let node ptr of PHY point to PHY and not of PHY provider
[deliverable/linux.git] / drivers / phy / phy-sun4i-usb.c
index 7a4ea552f621cf10e466d82cafc578a8603c2439..61ebea49709bf9f003cf97cd9d4f1e7e45cbfc5f 100644 (file)
@@ -295,7 +295,7 @@ static int sun4i_usb_phy_probe(struct platform_device *pdev)
                                return PTR_ERR(phy->pmu);
                }
 
-               phy->phy = devm_phy_create(dev, &sun4i_usb_phy_ops, NULL);
+               phy->phy = devm_phy_create(dev, NULL, &sun4i_usb_phy_ops, NULL);
                if (IS_ERR(phy->phy)) {
                        dev_err(dev, "failed to create PHY %d\n", i);
                        return PTR_ERR(phy->phy);
This page took 0.027937 seconds and 5 git commands to generate.