public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* [PATCH 1/3] rtc: rtc-cmos: Remove superfluous name cast
@ 2013-12-08  9:49 Geert Uytterhoeven
  2013-12-08  9:49 ` [PATCH 2/3] m68k/atari: Hide RTC_PORT() macro from rtc-cmos Geert Uytterhoeven
  2013-12-08  9:49 ` [PATCH 3/3] rtc: Disable RTC_DRV_CMOS on Atari Geert Uytterhoeven
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2013-12-08  9:49 UTC (permalink / raw)
  To: linux-m68k; +Cc: rtc-linux, linux-kernel, Geert Uytterhoeven, Alessandro Zummo

device_driver.name is "const char *"

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
---
 drivers/rtc/rtc-cmos.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
index f14876256a4a..ed5540d78a80 100644
--- a/drivers/rtc/rtc-cmos.c
+++ b/drivers/rtc/rtc-cmos.c
@@ -1127,7 +1127,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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-08  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-08  9:49 [PATCH 1/3] rtc: rtc-cmos: Remove superfluous name cast Geert Uytterhoeven
2013-12-08  9:49 ` [PATCH 2/3] m68k/atari: Hide RTC_PORT() macro from rtc-cmos Geert Uytterhoeven
2013-12-08  9:49 ` [PATCH 3/3] rtc: Disable RTC_DRV_CMOS on Atari Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox