usb: host: Remove superfluous name casts

device_driver.name is "const char *"

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Geert Uytterhoeven 2013-11-12 20:07:25 +01:00 committed by Greg Kroah-Hartman
parent bde5ae91e8
commit a458677db6
5 changed files with 5 additions and 5 deletions

View File

@ -1930,7 +1930,7 @@ static int imx21_probe(struct platform_device *pdev)
static struct platform_driver imx21_hcd_driver = {
.driver = {
.name = (char *)hcd_name,
.name = hcd_name,
},
.probe = imx21_probe,
.remove = imx21_remove,

View 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,
},
};

View 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,
},
};

View 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,
},

View 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,
},
};