aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-11-30 08:05:45 -0500
committerJiri Kosina <jkosina@suse.cz>2009-01-06 05:28:05 -0500
commit4367fa510737fc95094f92f6c6fb068b0410431d (patch)
tree7a9db39781086ccce42f5867f5d9613cd47f8295
parent24d431d06aeeda2b12cc925c6e1693c45ae5088b (diff)
trivial: rtc-ds1511: fix sparse warning
Fix this sparse warning: drivers/rtc/rtc-ds1511.c:634:2: warning: returning void-valued expression Acked-by: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/rtc/rtc-ds1511.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c
index 25caada78398..062a1d11e3de 100644
--- a/drivers/rtc/rtc-ds1511.c
+++ b/drivers/rtc/rtc-ds1511.c
@@ -631,7 +631,7 @@ ds1511_rtc_init(void)
631 static void __exit 631 static void __exit
632ds1511_rtc_exit(void) 632ds1511_rtc_exit(void)
633{ 633{
634 return platform_driver_unregister(&ds1511_rtc_driver); 634 platform_driver_unregister(&ds1511_rtc_driver);
635} 635}
636 636
637module_init(ds1511_rtc_init); 637module_init(ds1511_rtc_init);