summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-samsung-usb2.c
diff options
context:
space:
mode:
authorHeikki Krogerus2014-11-19 16:28:21 +0100
committerKishon Vijay Abraham I2014-11-22 09:28:39 +0100
commitdbc98635e0d42f0e62ea92813df1e0e4c90f8375 (patch)
treebbcc8edc595522f6f42c418ff8a3fcb3b36606fa /drivers/phy/phy-samsung-usb2.c
parentphy: twl4030: use the new lookup method (diff)
downloadkernel-qcow2-linux-dbc98635e0d42f0e62ea92813df1e0e4c90f8375.tar.gz
kernel-qcow2-linux-dbc98635e0d42f0e62ea92813df1e0e4c90f8375.tar.xz
kernel-qcow2-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-samsung-usb2.c')
-rw-r--r--drivers/phy/phy-samsung-usb2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/phy/phy-samsung-usb2.c b/drivers/phy/phy-samsung-usb2.c
index 908949dfb4db..4a12f66b7fb5 100644
--- a/drivers/phy/phy-samsung-usb2.c
+++ b/drivers/phy/phy-samsung-usb2.c
@@ -202,8 +202,7 @@ static int samsung_usb2_phy_probe(struct platform_device *pdev)
struct samsung_usb2_phy_instance *p = &drv->instances[i];
dev_dbg(dev, "Creating phy \"%s\"\n", label);
- p->phy = devm_phy_create(dev, NULL, &samsung_usb2_phy_ops,
- NULL);
+ p->phy = devm_phy_create(dev, NULL, &samsung_usb2_phy_ops);
if (IS_ERR(p->phy)) {
dev_err(drv->dev, "Failed to create usb2_phy \"%s\"\n",
label);