summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-sun4i-usb.c
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2014-11-19 10:28:21 -0500
committerKishon Vijay Abraham I <kishon@ti.com>2014-11-22 03:28:39 -0500
commitdbc98635e0d42f0e62ea92813df1e0e4c90f8375 (patch)
treebbcc8edc595522f6f42c418ff8a3fcb3b36606fa /drivers/phy/phy-sun4i-usb.c
parent61211b1bda0321803fdedc61158c55eab2685ad6 (diff)
phy: remove the old lookup method
The users of the old method are now converted to the new one. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> [ kishon@ti.com : made phy-berlin-usb.c and phy-miphy28lp.c to use the updated devm_phy_create API.] Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-sun4i-usb.c')
-rw-r--r--drivers/phy/phy-sun4i-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c
index 6bd2b0c972cc..fb02a67c9181 100644
--- a/drivers/phy/phy-sun4i-usb.c
+++ b/drivers/phy/phy-sun4i-usb.c
@@ -298,7 +298,7 @@ static int sun4i_usb_phy_probe(struct platform_device *pdev)
298 return PTR_ERR(phy->pmu); 298 return PTR_ERR(phy->pmu);
299 } 299 }
300 300
301 phy->phy = devm_phy_create(dev, NULL, &sun4i_usb_phy_ops, NULL); 301 phy->phy = devm_phy_create(dev, NULL, &sun4i_usb_phy_ops);
302 if (IS_ERR(phy->phy)) { 302 if (IS_ERR(phy->phy)) {
303 dev_err(dev, "failed to create PHY %d\n", i); 303 dev_err(dev, "failed to create PHY %d\n", i);
304 return PTR_ERR(phy->phy); 304 return PTR_ERR(phy->phy);