diff options
Diffstat (limited to 'drivers/usb/otg/isp1301_omap.c')
-rw-r--r-- | drivers/usb/otg/isp1301_omap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/otg/isp1301_omap.c b/drivers/usb/otg/isp1301_omap.c index 33cd709b084e..b74df3fec56f 100644 --- a/drivers/usb/otg/isp1301_omap.c +++ b/drivers/usb/otg/isp1301_omap.c | |||
@@ -1611,7 +1611,7 @@ isp1301_probe(struct i2c_client *i2c, const struct i2c_device_id *id) | |||
1611 | dev_dbg(&i2c->dev, "scheduled timer, %d min\n", TIMER_MINUTES); | 1611 | dev_dbg(&i2c->dev, "scheduled timer, %d min\n", TIMER_MINUTES); |
1612 | #endif | 1612 | #endif |
1613 | 1613 | ||
1614 | status = usb_set_transceiver(&isp->phy); | 1614 | status = usb_add_phy(&isp->phy); |
1615 | if (status < 0) | 1615 | if (status < 0) |
1616 | dev_err(&i2c->dev, "can't register transceiver, %d\n", | 1616 | dev_err(&i2c->dev, "can't register transceiver, %d\n", |
1617 | status); | 1617 | status); |
@@ -1650,7 +1650,7 @@ subsys_initcall(isp_init); | |||
1650 | static void __exit isp_exit(void) | 1650 | static void __exit isp_exit(void) |
1651 | { | 1651 | { |
1652 | if (the_transceiver) | 1652 | if (the_transceiver) |
1653 | usb_set_transceiver(NULL); | 1653 | usb_add_phy(NULL); |
1654 | i2c_del_driver(&isp1301_driver); | 1654 | i2c_del_driver(&isp1301_driver); |
1655 | } | 1655 | } |
1656 | module_exit(isp_exit); | 1656 | module_exit(isp_exit); |