From: Geert Uytterhoeven Date: Thu, 23 Jan 2014 23:55:11 +0000 (-0800) Subject: drivers/rtc/rtc-cmos.c: remove superfluous name cast X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c823a20244e1673047ac88b4439809748e2ab34e;p=openwrt%2Fstaging%2Fblogic.git drivers/rtc/rtc-cmos.c: remove superfluous name cast device_driver.name is "const char *" Signed-off-by: Geert Uytterhoeven Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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