projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcaf038
)
drivers/rtc/rtc-cmos.c: remove superfluous name cast
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Thu, 23 Jan 2014 23:55:11 +0000
(15:55 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:59 +0000
(16:36 -0800)
device_driver.name is "const char *"
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-cmos.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-cmos.c
b/drivers/rtc/rtc-cmos.c
index a2325bc5e497e7dbee4c72ac805da1c324ae4d27..f28b45856d66e5b4c8363a7421ac0b21d6953439 100644
(file)
--- a/
drivers/rtc/rtc-cmos.c
+++ b/
drivers/rtc/rtc-cmos.c
@@
-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