summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorGeert Uytterhoeven2014-01-24 00:55:11 +0100
committerLinus Torvalds2014-01-24 01:36:59 +0100
commitc823a20244e1673047ac88b4439809748e2ab34e (patch)
treec53047e45b9caedbdc2fb096a47b7cc9449a3bd9 /drivers/rtc
parentrtc: add hym8563 rtc-driver (diff)
downloadkernel-qcow2-linux-c823a20244e1673047ac88b4439809748e2ab34e.tar.gz
kernel-qcow2-linux-c823a20244e1673047ac88b4439809748e2ab34e.tar.xz
kernel-qcow2-linux-c823a20244e1673047ac88b4439809748e2ab34e.zip
drivers/rtc/rtc-cmos.c: remove superfluous name cast
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-cmos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
index a2325bc5e497..f28b45856d66 100644
--- 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