[rft/rfc/patch-v2.6.29-rc5+,10/23] usb: host: ehci: move some comments
diff mbox

Message ID 1235415335-17408-11-git-send-email-me@felipebalbi.com
State RFC
Delegated to: Felipe Balbi
Headers show

Commit Message

Felipe Balbi Feb. 23, 2009, 6:55 p.m. UTC
Move some of the comments used to separate the code
to more logical places. No functional changes.

Signed-off-by: Felipe Balbi <me@felipebalbi.com>
---
 drivers/usb/host/ehci-omap.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

Patch
diff mbox

diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index f5ffc5b..b7f02f6 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -77,6 +77,7 @@  struct ehci_omap_clock_defs {
 #define USBHOST_48M_FCLK	"usbhost_48m_fck"
 #define USBHOST_TLL_ICKL	"usbtll_ick"
 #define USBHOST_TLL_FCLK	"usbtll_fck"
+
 /*-------------------------------------------------------------------------*/
 
 #ifndef CONFIG_OMAP_EHCI_PHY_MODE
@@ -147,6 +148,7 @@  static void omap_usb_utmi_init(struct usb_hcd *hcd, u8 tll_channel_mask)
 # define omap_usb_utmi_init(x, y)	0
 #endif
 
+/*-------------------------------------------------------------------------*/
 
 /* omap_start_ehc
  *	- Start the TI USBHOST controller
@@ -330,8 +332,6 @@  static int omap_start_ehc(struct platform_device *dev, struct usb_hcd *hcd)
 	return 0;
 }
 
-/*-------------------------------------------------------------------------*/
-
 static void omap_stop_ehc(struct platform_device *dev, struct usb_hcd *hcd)
 {
 	struct ehci_omap_clock_defs *ehci_clocks;
@@ -397,9 +397,10 @@  static void omap_stop_ehc(struct platform_device *dev, struct usb_hcd *hcd)
 		"Clock to USB host has been disabled\n");
 }
 
+/*-------------------------------------------------------------------------*/
+
 static const struct hc_driver ehci_omap_hc_driver;
 
-/*-------------------------------------------------------------------------*/
 /* configure so an HC device and id are always provided */
 /* always called with process context; sleeping is OK */