diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-11-30 14:05:45 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-01-06 11:28:05 +0100 |
commit | 4367fa510737fc95094f92f6c6fb068b0410431d (patch) | |
tree | 7a9db39781086ccce42f5867f5d9613cd47f8295 /drivers/rtc/rtc-ds1511.c | |
parent | 24d431d06aeeda2b12cc925c6e1693c45ae5088b (diff) | |
download | op-kernel-dev-4367fa510737fc95094f92f6c6fb068b0410431d.zip op-kernel-dev-4367fa510737fc95094f92f6c6fb068b0410431d.tar.gz |
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>
Diffstat (limited to 'drivers/rtc/rtc-ds1511.c')
-rw-r--r-- | drivers/rtc/rtc-ds1511.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c index 25caada..062a1d1 100644 --- a/drivers/rtc/rtc-ds1511.c +++ b/drivers/rtc/rtc-ds1511.c @@ -631,7 +631,7 @@ ds1511_rtc_init(void) static void __exit ds1511_rtc_exit(void) { - return platform_driver_unregister(&ds1511_rtc_driver); + platform_driver_unregister(&ds1511_rtc_driver); } module_init(ds1511_rtc_init); |