mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
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:
parent
bde5ae91e8
commit
a458677db6
5 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue