summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-spear1310-miphy.c
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2014-11-19 17:28:21 +0200
committerKishon Vijay Abraham I <kishon@ti.com>2014-11-22 13:58:39 +0530
commitdbc98635e0d42f0e62ea92813df1e0e4c90f8375 (patch)
treebbcc8edc595522f6f42c418ff8a3fcb3b36606fa /drivers/phy/phy-spear1310-miphy.c
parent61211b1bda0321803fdedc61158c55eab2685ad6 (diff)
downloadlinux-dbc98635e0d42f0e62ea92813df1e0e4c90f8375.tar.gz
linux-dbc98635e0d42f0e62ea92813df1e0e4c90f8375.tar.bz2
linux-dbc98635e0d42f0e62ea92813df1e0e4c90f8375.zip
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-spear1310-miphy.c')
-rw-r--r--drivers/phy/phy-spear1310-miphy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-spear1310-miphy.c b/drivers/phy/phy-spear1310-miphy.c
index 5f4c586ee951..9f47fae7eecb 100644
--- a/drivers/phy/phy-spear1310-miphy.c
+++ b/drivers/phy/phy-spear1310-miphy.c
@@ -227,7 +227,7 @@ static int spear1310_miphy_probe(struct platform_device *pdev)
return -EINVAL;
}
- priv->phy = devm_phy_create(dev, NULL, &spear1310_miphy_ops, NULL);
+ priv->phy = devm_phy_create(dev, NULL, &spear1310_miphy_ops);
if (IS_ERR(priv->phy)) {
dev_err(dev, "failed to create SATA PCIe PHY\n");
return PTR_ERR(priv->phy);