diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2014-11-19 17:28:21 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-11-22 13:58:39 +0530 |
commit | dbc98635e0d42f0e62ea92813df1e0e4c90f8375 (patch) | |
tree | bbcc8edc595522f6f42c418ff8a3fcb3b36606fa /drivers/phy/phy-qcom-ipq806x-sata.c | |
parent | 61211b1bda0321803fdedc61158c55eab2685ad6 (diff) | |
download | linux-next-dbc98635e0d42f0e62ea92813df1e0e4c90f8375.tar.gz |
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-qcom-ipq806x-sata.c')
-rw-r--r-- | drivers/phy/phy-qcom-ipq806x-sata.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/phy/phy-qcom-ipq806x-sata.c b/drivers/phy/phy-qcom-ipq806x-sata.c index 759b0bf5b6b3..6f2fe2627916 100644 --- a/drivers/phy/phy-qcom-ipq806x-sata.c +++ b/drivers/phy/phy-qcom-ipq806x-sata.c @@ -150,8 +150,7 @@ static int qcom_ipq806x_sata_phy_probe(struct platform_device *pdev) if (IS_ERR(phy->mmio)) return PTR_ERR(phy->mmio); - generic_phy = devm_phy_create(dev, NULL, &qcom_ipq806x_sata_phy_ops, - NULL); + generic_phy = devm_phy_create(dev, NULL, &qcom_ipq806x_sata_phy_ops); if (IS_ERR(generic_phy)) { dev_err(dev, "%s: failed to create phy\n", __func__); return PTR_ERR(generic_phy); |