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 cb6d608535026f036a3e368e54bd3df3cd3b2654..0122624c7ec1a634a174d1fbff37d41f35421562 100644 (file)
@@ -1930,7 +1930,7 @@ failed_request_mem:
 
 static struct platform_driver imx21_hcd_driver = {
        .driver = {
-                  .name = (char *)hcd_name,
+                  .name = hcd_name,
                   },
        .probe = imx21_probe,
        .remove = imx21_remove,
index c7d0f8f231be6abcc136b7110a1150f7ca372751..7722ec658b87c95bfbd1627dd26a78a5bb790071 100644 (file)
@@ -1705,7 +1705,7 @@ static struct platform_driver isp116x_driver = {
        .suspend = isp116x_suspend,
        .resume = isp116x_resume,
        .driver = {
-               .name = (char *)hcd_name,
+               .name = hcd_name,
                .owner  = THIS_MODULE,
        },
 };
index 935a2dd367a81fb682d820fdf017aa3b7776596f..cd94b108b57f4cc53d66a47e64ebba1f8e0c62cb 100644 (file)
@@ -2829,7 +2829,7 @@ static struct platform_driver isp1362_driver = {
        .suspend = isp1362_suspend,
        .resume = isp1362_resume,
        .driver = {
-               .name = (char *)hcd_name,
+               .name = hcd_name,
                .owner = THIS_MODULE,
        },
 };
index 2ad004ae747c53b20f34fbeda0f54179408ce432..3bddfcfafb79f662b77028e6f8debdfdda737ef2 100644 (file)
@@ -2534,7 +2534,7 @@ static struct platform_driver r8a66597_driver = {
        .probe =        r8a66597_probe,
        .remove =       r8a66597_remove,
        .driver         = {
-               .name = (char *) hcd_name,
+               .name = hcd_name,
                .owner  = THIS_MODULE,
                .pm     = R8A66597_DEV_PM_OPS,
        },
index e402beb5a06952e00948853a1845695fe2db69d3..46236e9fc87f5a394ffa4fce800c7ab83dc5c151 100644 (file)
@@ -3217,7 +3217,7 @@ static struct platform_driver u132_platform_driver = {
        .suspend = u132_suspend,
        .resume = u132_resume,
        .driver = {
-                  .name = (char *)hcd_name,
+                  .name = hcd_name,
                   .owner = THIS_MODULE,
                   },
 };