提交 58efd4b0 编写于 作者: P Peter Chen 提交者: Felipe Balbi

usb: phy: change some comments

- Replace all "transceiver" with "phy"
- Replace one "OTG controller" with "phy"
Signed-off-by: NPeter Chen <peter.chen@freescale.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 5cd22f80
...@@ -63,7 +63,7 @@ enum usb_otg_state { ...@@ -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 { ...@@ -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 { ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册