usb: musb: trivial search and replace patch
authorFelipe Balbi <balbi@ti.com>
Thu, 2 Dec 2010 06:49:26 +0000 (08:49 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 10 Dec 2010 08:21:10 +0000 (10:21 +0200)
change all ocurrences of musb_hdrc to musb-hdrc.

We will call glue layer drivers musb-<glue layer>,
so in order to keep things somewhat standard, let's
change the underscore into a dash.

Signed-off-by: Felipe Balbi <balbi@ti.com>
18 files changed:
arch/arm/mach-davinci/usb.c
arch/arm/mach-omap2/clock2420_data.c
arch/arm/mach-omap2/clock2430_data.c
arch/arm/mach-omap2/clock3xxx_data.c
arch/arm/mach-omap2/clock44xx_data.c
arch/arm/mach-omap2/usb-musb.c
arch/arm/mach-omap2/usb-tusb6010.c
arch/blackfin/mach-bf527/boards/ad7160eval.c
arch/blackfin/mach-bf527/boards/cm_bf527.c
arch/blackfin/mach-bf527/boards/ezbrd.c
arch/blackfin/mach-bf527/boards/ezkit.c
arch/blackfin/mach-bf527/boards/tll6527m.c
arch/blackfin/mach-bf548/boards/cm_bf548.c
arch/blackfin/mach-bf548/boards/ezkit.c
drivers/usb/gadget/gadget_chips.h
drivers/usb/musb/Kconfig
drivers/usb/musb/musb_core.c
include/linux/usb/musb.h

index b0d6b07431c00cfea94f60e07172065125dd6d7d..0c7735bc0d19c0d25763b18c46fa3e1dddcdeacb 100644 (file)
@@ -76,7 +76,7 @@ static struct resource usb_resources[] = {
 static u64 usb_dmamask = DMA_BIT_MASK(32);
 
 static struct platform_device usb_dev = {
-       .name           = "musb_hdrc",
+       .name           = "musb-hdrc",
        .id             = -1,
        .dev = {
                .platform_data          = &usb_data,
index 21f856252ad86e3c95ac14ba75620a8385ce1676..831e25c89d2d57ea706e00d7bc03bcf3ea81aaf5 100644 (file)
@@ -1877,7 +1877,7 @@ static struct omap_clk omap2420_clks[] = {
        CLK("omap-aes", "ick",  &aes_ick,       CK_242X),
        CLK(NULL,       "pka_ick",      &pka_ick,       CK_242X),
        CLK(NULL,       "usb_fck",      &usb_fck,       CK_242X),
-       CLK("musb_hdrc",        "fck",  &osc_ck,        CK_242X),
+       CLK("musb-hdrc",        "fck",  &osc_ck,        CK_242X),
 };
 
 /*
index e32afcbdfb88aabdfd69979d478e6f21cce491d0..a6bccd7475a083c58181a41c2cd25dd08643336e 100644 (file)
@@ -1983,7 +1983,7 @@ static struct omap_clk omap2430_clks[] = {
        CLK("omap-aes", "ick",  &aes_ick,       CK_243X),
        CLK(NULL,       "pka_ick",      &pka_ick,       CK_243X),
        CLK(NULL,       "usb_fck",      &usb_fck,       CK_243X),
-       CLK("musb_hdrc",        "ick",  &usbhs_ick,     CK_243X),
+       CLK("musb-hdrc",        "ick",  &usbhs_ick,     CK_243X),
        CLK("mmci-omap-hs.0", "ick",    &mmchs1_ick,    CK_243X),
        CLK("mmci-omap-hs.0", "fck",    &mmchs1_fck,    CK_243X),
        CLK("mmci-omap-hs.1", "ick",    &mmchs2_ick,    CK_243X),
index a04cb03db51fda802915a3c0a3ac694d725a4739..3e668edbf6fe166306a049f601d16c55de7020b0 100644 (file)
@@ -3306,8 +3306,8 @@ static struct omap_clk omap3xxx_clks[] = {
        CLK(NULL,       "ssi_sst_fck",  &ssi_sst_fck_3430es1,   CK_3430ES1),
        CLK(NULL,       "ssi_sst_fck",  &ssi_sst_fck_3430es2,   CK_3430ES2),
        CLK(NULL,       "core_l3_ick",  &core_l3_ick,   CK_3XXX),
-       CLK("musb_hdrc",        "ick",  &hsotgusb_ick_3430es1,  CK_3430ES1),
-       CLK("musb_hdrc",        "ick",  &hsotgusb_ick_3430es2,  CK_3430ES2),
+       CLK("musb-hdrc",        "ick",  &hsotgusb_ick_3430es1,  CK_3430ES1),
+       CLK("musb-hdrc",        "ick",  &hsotgusb_ick_3430es2,  CK_3430ES2),
        CLK(NULL,       "sdrc_ick",     &sdrc_ick,      CK_3XXX),
        CLK(NULL,       "gpmc_fck",     &gpmc_fck,      CK_3XXX),
        CLK(NULL,       "security_l3_ick", &security_l3_ick, CK_343X),
@@ -3442,8 +3442,8 @@ static struct omap_clk omap3xxx_clks[] = {
        CLK("davinci_emac",     "phy_clk",      &emac_fck,      CK_AM35XX),
        CLK("vpfe-capture",     "master",       &vpfe_ick,      CK_AM35XX),
        CLK("vpfe-capture",     "slave",        &vpfe_fck,      CK_AM35XX),
-       CLK("musb_hdrc",        "ick",          &hsotgusb_ick_am35xx,   CK_AM35XX),
-       CLK("musb_hdrc",        "fck",          &hsotgusb_fck_am35xx,   CK_AM35XX),
+       CLK("musb-hdrc",        "ick",          &hsotgusb_ick_am35xx,   CK_AM35XX),
+       CLK("musb-hdrc",        "fck",          &hsotgusb_fck_am35xx,   CK_AM35XX),
        CLK(NULL,       "hecc_ck",      &hecc_ck,       CK_AM35XX),
        CLK(NULL,       "uart4_ick",    &uart4_ick_am35xx,      CK_AM35XX),
 };
index f473e8922664065e2286c9a128454d8c89a3ce64..95dd34ce6ea1e84c564eb4db4a5c26f6dd0f7f60 100644 (file)
@@ -2953,7 +2953,7 @@ static struct omap_clk omap44xx_clks[] = {
        CLK("ehci-omap.0",      "usbhost_ick",          &dummy_ck,              CK_443X),
        CLK(NULL,       "otg_60m_gfclk",                &otg_60m_gfclk, CK_443X),
        CLK(NULL,       "usb_otg_hs_xclk",              &usb_otg_hs_xclk,       CK_443X),
-       CLK("musb_hdrc",        "ick",                          &usb_otg_hs_ick,        CK_443X),
+       CLK("musb-hdrc",        "ick",                          &usb_otg_hs_ick,        CK_443X),
        CLK(NULL,       "usb_phy_cm_clk32k",            &usb_phy_cm_clk32k,     CK_443X),
        CLK(NULL,       "usb_tll_hs_usb_ch2_clk",       &usb_tll_hs_usb_ch2_clk,        CK_443X),
        CLK(NULL,       "usb_tll_hs_usb_ch0_clk",       &usb_tll_hs_usb_ch0_clk,        CK_443X),
index ed0e85c3764f3a5f7cbd9a20a8924e76059219a0..7d3ea53af3ab6bee0d181ad28bb31172189dbb66 100644 (file)
@@ -77,7 +77,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 static u64 musb_dmamask = DMA_BIT_MASK(32);
 
 static struct platform_device musb_device = {
-       .name           = "musb_hdrc",
+       .name           = "musb-hdrc",
        .id             = -1,
        .dev = {
                .dma_mask               = &musb_dmamask,
index 64a0112b70a5f0657db5911cad920ff488e47f8e..42389213b47041a2ea07d36a918e6756fb04e88e 100644 (file)
@@ -223,7 +223,7 @@ static struct resource tusb_resources[] = {
 static u64 tusb_dmamask = ~(u32)0;
 
 static struct platform_device tusb_device = {
-       .name           = "musb_hdrc",
+       .name           = "musb-hdrc",
        .id             = -1,
        .dev = {
                .dma_mask               = &tusb_dmamask,
index fc767ac763818496d2b751903b25401f86f463fa..ec9f2612be1d2d7c0e5d206e7c5a164c859110aa 100644 (file)
@@ -83,7 +83,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 static u64 musb_dmamask = ~(u32)0;
 
 static struct platform_device musb_device = {
-       .name           = "musb_hdrc",
+       .name           = "musb-hdrc",
        .id             = 0,
        .dev = {
                .dma_mask               = &musb_dmamask,
index f714d7be35b94f16a0643f902e4b98b39b2e41f1..a7627dee688e0eac489fdc074a736f95780a10df 100644 (file)
@@ -120,7 +120,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 static u64 musb_dmamask = ~(u32)0;
 
 static struct platform_device musb_device = {
-       .name           = "musb_hdrc",
+       .name           = "musb-hdrc",
        .id             = 0,
        .dev = {
                .dma_mask               = &musb_dmamask,
index 315eec9306042099e5d134ae7c47e8d22d4ea628..d1df634e24c39a4b16582fda1d8a125a6db3dccf 100644 (file)
@@ -84,7 +84,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 static u64 musb_dmamask = ~(u32)0;
 
 static struct platform_device musb_device = {
-       .name           = "musb_hdrc",
+       .name           = "musb-hdrc",
        .id             = 0,
        .dev = {
                .dma_mask               = &musb_dmamask,
index 27373127974026aa3c1a11d0ae5720030202b3b0..5983abd8a7e3d633446fbfd4c76c81a61f6ffb23 100644 (file)
@@ -124,7 +124,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 static u64 musb_dmamask = ~(u32)0;
 
 static struct platform_device musb_device = {
-       .name           = "musb_hdrc",
+       .name           = "musb-hdrc",
        .id             = 0,
        .dev = {
                .dma_mask               = &musb_dmamask,
index 9ec575729e2c4f00d726cc1e96889d7225898165..284ec1f4413111125d4de2e38bbfbeaaa8fcc116 100644 (file)
@@ -91,7 +91,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 static u64 musb_dmamask = ~(u32)0;
 
 static struct platform_device musb_device = {
-       .name           = "musb_hdrc",
+       .name           = "musb-hdrc",
        .id             = 0,
        .dev = {
                .dma_mask               = &musb_dmamask,
index 3e3dfb23f94ec7eee68f54c1aa93581e03c30fa5..f52334519a20ca8cc53e8dce7bbca8608d2100cb 100644 (file)
@@ -520,7 +520,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 static u64 musb_dmamask = ~(u32)0;
 
 static struct platform_device musb_device = {
-       .name           = "musb_hdrc",
+       .name           = "musb-hdrc",
        .id             = 0,
        .dev = {
                .dma_mask               = &musb_dmamask,
index 9ff166d6f00d10c44a8477fd7260c9b16baf1983..e2c851bef99ad42b1deb5eaa2bff90838f0bedaf 100644 (file)
@@ -625,7 +625,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 static u64 musb_dmamask = ~(u32)0;
 
 static struct platform_device musb_device = {
-       .name           = "musb_hdrc",
+       .name           = "musb-hdrc",
        .id             = 0,
        .dev = {
                .dma_mask               = &musb_dmamask,
index d7b3bbe56808828711431a9688b9ffe547300068..aeb109bd317d21c8e7f2845bb6aa8eeb086bc52c 100644 (file)
@@ -96,7 +96,7 @@
 
 /* Mentor high speed "dual role" controller, in peripheral role */
 #ifdef CONFIG_USB_GADGET_MUSB_HDRC
-#define gadget_is_musbhdrc(g)  !strcmp("musb_hdrc", (g)->name)
+#define gadget_is_musbhdrc(g)  !strcmp("musb-hdrc", (g)->name)
 #else
 #define gadget_is_musbhdrc(g)  0
 #endif
index 7119d900a479bd577e316041ae980e88ba3e0cab..03a42901922cc144c07fbc4d1c9183896424c999 100644 (file)
@@ -30,7 +30,7 @@ config USB_MUSB_HDRC
          If you do not know what this is, please say N.
 
          To compile this driver as a module, choose M here; the
-         module will be called "musb_hdrc".
+         module will be called "musb-hdrc".
 
 choice
        prompt "Platform Glue Layer"
index 8df1c583f19d844c9d024aa48fadd9d8a0145a58..1ca14f90c994eb612b882580583523debff0d902 100644 (file)
@@ -126,7 +126,7 @@ MODULE_PARM_DESC(debug, "Debug message level. Default = 0");
 
 #define DRIVER_INFO DRIVER_DESC ", v" MUSB_VERSION
 
-#define MUSB_DRIVER_NAME "musb_hdrc"
+#define MUSB_DRIVER_NAME "musb-hdrc"
 const char musb_driver_name[] = MUSB_DRIVER_NAME;
 
 MODULE_DESCRIPTION(DRIVER_INFO);
index ee2dd1d506ed575cd795963dc8cad50c7aefa419..e2191d4db4dd9d69f58836ffda54f544b538fc3e 100644 (file)
@@ -3,7 +3,7 @@
  * Inventra (Multidrop) Highspeed Dual-Role Controllers:  (M)HDRC.
  *
  * Board initialization should put one of these into dev->platform_data,
- * probably on some platform_device named "musb_hdrc".  It encapsulates
+ * probably on some platform_device named "musb-hdrc".  It encapsulates
  * key configuration differences between boards.
  */