]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: phy: change some comments
authorPeter Chen <peter.chen@freescale.com>
Tue, 22 Sep 2015 07:31:34 +0000 (15:31 +0800)
committerFelipe Balbi <balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000 (10:54 -0500)
- 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>
include/linux/usb/phy.h

index e39f251cf861e08483a411493fd5030d2bf319dc..31a8068c42a56aded5bbdf0d779eebc5b9d628c2 100644 (file)
@@ -63,7 +63,7 @@ enum usb_otg_state {
 struct usb_phy;
 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
  */
 struct usb_phy_io_ops {
@@ -92,10 +92,10 @@ struct usb_phy {
        u16                     port_status;
        u16                     port_change;
 
-       /* to support controllers that have multiple transceivers */
+       /* to support controllers that have multiple phys */
        struct list_head        head;
 
-       /* initialize/shutdown the OTG controller */
+       /* initialize/shutdown the phy */
        int     (*init)(struct usb_phy *x);
        void    (*shutdown)(struct usb_phy *x);
 
@@ -106,7 +106,7 @@ struct usb_phy {
        int     (*set_power)(struct usb_phy *x,
                                unsigned mA);
 
-       /* Set transceiver into suspend mode */
+       /* Set phy into suspend mode */
        int     (*set_suspend)(struct usb_phy *x,
                                int suspend);