diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2014-11-19 16:28:21 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-11-22 09:28:39 +0100 |
commit | dbc98635e0d42f0e62ea92813df1e0e4c90f8375 (patch) | |
tree | bbcc8edc595522f6f42c418ff8a3fcb3b36606fa /drivers/phy/phy-omap-usb2.c | |
parent | phy: twl4030: use the new lookup method (diff) | |
download | linux-dbc98635e0d42f0e62ea92813df1e0e4c90f8375.tar.xz 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-omap-usb2.c')
-rw-r--r-- | drivers/phy/phy-omap-usb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2.c index f091576b6449..5dab3ec71a19 100644 --- a/drivers/phy/phy-omap-usb2.c +++ b/drivers/phy/phy-omap-usb2.c @@ -260,7 +260,7 @@ static int omap_usb2_probe(struct platform_device *pdev) platform_set_drvdata(pdev, phy); pm_runtime_enable(phy->dev); - generic_phy = devm_phy_create(phy->dev, NULL, &ops, NULL); + generic_phy = devm_phy_create(phy->dev, NULL, &ops); if (IS_ERR(generic_phy)) { pm_runtime_disable(phy->dev); return PTR_ERR(generic_phy); |