usb: host: Remove superfluous name casts
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 12 Nov 2013 19:07:25 +0000 (20:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 19:17:28 +0000 (11:17 -0800)
device_driver.name is "const char *"

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/imx21-hcd.c
drivers/usb/host/isp116x-hcd.c
drivers/usb/host/isp1362-hcd.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/u132-hcd.c

index cb6d608..0122624 100644 (file)
@@ -1930,7 +1930,7 @@ failed_request_mem:
 
 static struct platform_driver imx21_hcd_driver = {
        .driver = {
 
 static struct platform_driver imx21_hcd_driver = {
        .driver = {
-                  .name = (char *)hcd_name,
+                  .name = hcd_name,
                   },
        .probe = imx21_probe,
        .remove = imx21_remove,
                   },
        .probe = imx21_probe,
        .remove = imx21_remove,
index c7d0f8f..7722ec6 100644 (file)
@@ -1705,7 +1705,7 @@ static struct platform_driver isp116x_driver = {
        .suspend = isp116x_suspend,
        .resume = isp116x_resume,
        .driver = {
        .suspend = isp116x_suspend,
        .resume = isp116x_resume,
        .driver = {
-               .name = (char *)hcd_name,
+               .name = hcd_name,
                .owner  = THIS_MODULE,
        },
 };
                .owner  = THIS_MODULE,
        },
 };
index 935a2dd..cd94b10 100644 (file)
@@ -2829,7 +2829,7 @@ static struct platform_driver isp1362_driver = {
        .suspend = isp1362_suspend,
        .resume = isp1362_resume,
        .driver = {
        .suspend = isp1362_suspend,
        .resume = isp1362_resume,
        .driver = {
-               .name = (char *)hcd_name,
+               .name = hcd_name,
                .owner = THIS_MODULE,
        },
 };
                .owner = THIS_MODULE,
        },
 };
index 2ad004a..3bddfcf 100644 (file)
@@ -2534,7 +2534,7 @@ static struct platform_driver r8a66597_driver = {
        .probe =        r8a66597_probe,
        .remove =       r8a66597_remove,
        .driver         = {
        .probe =        r8a66597_probe,
        .remove =       r8a66597_remove,
        .driver         = {
-               .name = (char *) hcd_name,
+               .name = hcd_name,
                .owner  = THIS_MODULE,
                .pm     = R8A66597_DEV_PM_OPS,
        },
                .owner  = THIS_MODULE,
                .pm     = R8A66597_DEV_PM_OPS,
        },
index e402beb..46236e9 100644 (file)
@@ -3217,7 +3217,7 @@ static struct platform_driver u132_platform_driver = {
        .suspend = u132_suspend,
        .resume = u132_resume,
        .driver = {
        .suspend = u132_suspend,
        .resume = u132_resume,
        .driver = {
-                  .name = (char *)hcd_name,
+                  .name = hcd_name,
                   .owner = THIS_MODULE,
                   },
 };
                   .owner = THIS_MODULE,
                   },
 };