提交 a458677d 编写于 作者: G Geert Uytterhoeven 提交者: Greg Kroah-Hartman

usb: host: Remove superfluous name casts

device_driver.name is "const char *"
Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 bde5ae91
......@@ -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,
},
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册