diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-11-30 13:05:45 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-01-06 10:28:05 (GMT) |
commit | 4367fa510737fc95094f92f6c6fb068b0410431d (patch) | |
tree | 7a9db39781086ccce42f5867f5d9613cd47f8295 /drivers/rtc | |
parent | 24d431d06aeeda2b12cc925c6e1693c45ae5088b (diff) | |
download | linux-fsl-qoriq-4367fa510737fc95094f92f6c6fb068b0410431d.tar.xz |
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')
-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); |