mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
drivers/rtc/rtc-cmos.c: remove superfluous name cast
device_driver.name is "const char *" Signed-off-by: Geert Uytterhoeven <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
dcaf038493
commit
c823a20244
1 changed files with 1 additions and 1 deletions
|
|
@ -1175,7 +1175,7 @@ static struct platform_driver cmos_platform_driver = {
|
|||
.remove = __exit_p(cmos_platform_remove),
|
||||
.shutdown = cmos_platform_shutdown,
|
||||
.driver = {
|
||||
.name = (char *) driver_name,
|
||||
.name = driver_name,
|
||||
#ifdef CONFIG_PM
|
||||
.pm = &cmos_pm_ops,
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue