mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
phy: remove the old lookup method
The users of the old method are now converted to the new one. Signed-off-by: Heikki Krogerus <[email protected]> [ [email protected] : made phy-berlin-usb.c and phy-miphy28lp.c to use the updated devm_phy_create API.] Signed-off-by: Kishon Vijay Abraham I <[email protected]>
This commit is contained in:
parent
61211b1bda
commit
dbc98635e0
27 changed files with 34 additions and 110 deletions
|
|
@ -910,7 +910,7 @@ static int tegra_xusb_padctl_probe(struct platform_device *pdev)
|
|||
goto reset;
|
||||
}
|
||||
|
||||
phy = devm_phy_create(&pdev->dev, NULL, &pcie_phy_ops, NULL);
|
||||
phy = devm_phy_create(&pdev->dev, NULL, &pcie_phy_ops);
|
||||
if (IS_ERR(phy)) {
|
||||
err = PTR_ERR(phy);
|
||||
goto unregister;
|
||||
|
|
@ -919,7 +919,7 @@ static int tegra_xusb_padctl_probe(struct platform_device *pdev)
|
|||
padctl->phys[TEGRA_XUSB_PADCTL_PCIE] = phy;
|
||||
phy_set_drvdata(phy, padctl);
|
||||
|
||||
phy = devm_phy_create(&pdev->dev, NULL, &sata_phy_ops, NULL);
|
||||
phy = devm_phy_create(&pdev->dev, NULL, &sata_phy_ops);
|
||||
if (IS_ERR(phy)) {
|
||||
err = PTR_ERR(phy);
|
||||
goto unregister;
|
||||
|
|
|
|||
Loading…
Reference in a new issue