aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_dsps.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2012-06-22 07:32:45 -0400
committerFelipe Balbi <balbi@ti.com>2012-06-25 07:04:26 -0400
commit721002ec1dd55a52425455826af49cf8853b2d4f (patch)
tree41d990b5f1a14d9e7bda9258083ee2628bf736e1 /drivers/usb/musb/musb_dsps.c
parent6b03b13336ee5d8da7bda8799c9ed990e3daedcc (diff)
usb: otg: utils: rename function name in OTG utils
_transceiver() in otg.c is replaced with _phy. usb_set_transceiver is replaced with usb_add_phy to make it similar to other usb standard function names like usb_add_hcd. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_dsps.c')
-rw-r--r--drivers/usb/musb/musb_dsps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 23db42db761a..716c113608f4 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -376,7 +376,7 @@ static int dsps_musb_init(struct musb *musb)
376 376
377 /* NOP driver needs change if supporting dual instance */ 377 /* NOP driver needs change if supporting dual instance */
378 usb_nop_xceiv_register(); 378 usb_nop_xceiv_register();
379 musb->xceiv = usb_get_transceiver(); 379 musb->xceiv = usb_get_phy();
380 if (!musb->xceiv) 380 if (!musb->xceiv)
381 return -ENODEV; 381 return -ENODEV;
382 382
@@ -409,7 +409,7 @@ static int dsps_musb_init(struct musb *musb)
409 409
410 return 0; 410 return 0;
411err0: 411err0:
412 usb_put_transceiver(musb->xceiv); 412 usb_put_phy(musb->xceiv);
413 usb_nop_xceiv_unregister(); 413 usb_nop_xceiv_unregister();
414 return status; 414 return status;
415} 415}
@@ -430,7 +430,7 @@ static int dsps_musb_exit(struct musb *musb)
430 data->set_phy_power(0); 430 data->set_phy_power(0);
431 431
432 /* NOP driver needs change if supporting dual instance */ 432 /* NOP driver needs change if supporting dual instance */
433 usb_put_transceiver(musb->xceiv); 433 usb_put_phy(musb->xceiv);
434 usb_nop_xceiv_unregister(); 434 usb_nop_xceiv_unregister();
435 435
436 return 0; 436 return 0;