usb: phy: change some comments

- Replace all "transceiver" with "phy"
- Replace one "OTG controller" with "phy"

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Peter Chen 2015-09-22 15:31:34 +08:00 committed by Felipe Balbi
parent 5cd22f80bc
commit 58efd4b06d

View File

@ -63,7 +63,7 @@ enum usb_otg_state {
struct usb_phy; struct usb_phy;
struct usb_otg; struct usb_otg;
/* for transceivers connected thru an ULPI interface, the user must /* for phys connected thru an ULPI interface, the user must
* provide access ops * provide access ops
*/ */
struct usb_phy_io_ops { struct usb_phy_io_ops {
@ -92,10 +92,10 @@ struct usb_phy {
u16 port_status; u16 port_status;
u16 port_change; u16 port_change;
/* to support controllers that have multiple transceivers */ /* to support controllers that have multiple phys */
struct list_head head; struct list_head head;
/* initialize/shutdown the OTG controller */ /* initialize/shutdown the phy */
int (*init)(struct usb_phy *x); int (*init)(struct usb_phy *x);
void (*shutdown)(struct usb_phy *x); void (*shutdown)(struct usb_phy *x);
@ -106,7 +106,7 @@ struct usb_phy {
int (*set_power)(struct usb_phy *x, int (*set_power)(struct usb_phy *x,
unsigned mA); unsigned mA);
/* Set transceiver into suspend mode */ /* Set phy into suspend mode */
int (*set_suspend)(struct usb_phy *x, int (*set_suspend)(struct usb_phy *x,
int suspend); int suspend);