diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-11-28 17:11:47 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-01-06 11:28:05 +0100 |
commit | 277835adca10a696ac3e2a103ea537658c141a3c (patch) | |
tree | 30271960214a081563c1ded056707beb7d9fcfdc /drivers/rtc | |
parent | 4367fa510737fc95094f92f6c6fb068b0410431d (diff) | |
download | kernel_samsung_smdk4412-277835adca10a696ac3e2a103ea537658c141a3c.zip kernel_samsung_smdk4412-277835adca10a696ac3e2a103ea537658c141a3c.tar.gz kernel_samsung_smdk4412-277835adca10a696ac3e2a103ea537658c141a3c.tar.bz2 |
trivial: rtc-stk17ta8: fix sparse warning
Fix this sparse warning:
drivers/rtc/rtc-stk17ta8.c:403: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-stk17ta8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-stk17ta8.c b/drivers/rtc/rtc-stk17ta8.c index f4cd46e..549990f 100644 --- a/drivers/rtc/rtc-stk17ta8.c +++ b/drivers/rtc/rtc-stk17ta8.c @@ -400,7 +400,7 @@ static __init int stk17ta8_init(void) static __exit void stk17ta8_exit(void) { - return platform_driver_unregister(&stk17ta8_rtc_driver); + platform_driver_unregister(&stk17ta8_rtc_driver); } module_init(stk17ta8_init); |