mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 06:33:34 +00:00
staging: 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
843cff5abd
commit
1c126bc6a2
@ -134,7 +134,7 @@ MODULE_DEVICE_TABLE(of, dwc2_of_match_table);
|
||||
|
||||
static struct platform_driver dwc2_platform_driver = {
|
||||
.driver = {
|
||||
.name = (char *)dwc2_driver_name,
|
||||
.name = dwc2_driver_name,
|
||||
.of_match_table = dwc2_of_match_table,
|
||||
},
|
||||
.probe = dwc2_driver_probe,
|
||||
|
@ -1107,7 +1107,7 @@ static struct platform_driver vhci_driver = {
|
||||
.suspend = vhci_hcd_suspend,
|
||||
.resume = vhci_hcd_resume,
|
||||
.driver = {
|
||||
.name = (char *) driver_name,
|
||||
.name = driver_name,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user