diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-11-28 11:11:47 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-01-06 05:28:05 -0500 |
commit | 277835adca10a696ac3e2a103ea537658c141a3c (patch) | |
tree | 30271960214a081563c1ded056707beb7d9fcfdc /drivers/rtc/rtc-stk17ta8.c | |
parent | 4367fa510737fc95094f92f6c6fb068b0410431d (diff) |
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/rtc-stk17ta8.c')
-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 f4cd46e15af9..549990f33597 100644 --- a/drivers/rtc/rtc-stk17ta8.c +++ b/drivers/rtc/rtc-stk17ta8.c | |||
@@ -400,7 +400,7 @@ static __init int stk17ta8_init(void) | |||
400 | 400 | ||
401 | static __exit void stk17ta8_exit(void) | 401 | static __exit void stk17ta8_exit(void) |
402 | { | 402 | { |
403 | return platform_driver_unregister(&stk17ta8_rtc_driver); | 403 | platform_driver_unregister(&stk17ta8_rtc_driver); |
404 | } | 404 | } |
405 | 405 | ||
406 | module_init(stk17ta8_init); | 406 | module_init(stk17ta8_init); |