Commit 1c126bc6 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman

staging: Remove superfluous name casts

device_driver.name is "const char *"
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 843cff5a
...@@ -134,7 +134,7 @@ MODULE_DEVICE_TABLE(of, dwc2_of_match_table); ...@@ -134,7 +134,7 @@ MODULE_DEVICE_TABLE(of, dwc2_of_match_table);
static struct platform_driver dwc2_platform_driver = { static struct platform_driver dwc2_platform_driver = {
.driver = { .driver = {
.name = (char *)dwc2_driver_name, .name = dwc2_driver_name,
.of_match_table = dwc2_of_match_table, .of_match_table = dwc2_of_match_table,
}, },
.probe = dwc2_driver_probe, .probe = dwc2_driver_probe,
......
...@@ -1107,7 +1107,7 @@ static struct platform_driver vhci_driver = { ...@@ -1107,7 +1107,7 @@ static struct platform_driver vhci_driver = {
.suspend = vhci_hcd_suspend, .suspend = vhci_hcd_suspend,
.resume = vhci_hcd_resume, .resume = vhci_hcd_resume,
.driver = { .driver = {
.name = (char *) driver_name, .name = driver_name,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment