summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-11-28 17:11:47 +0100
committerJiri Kosina <jkosina@suse.cz>2009-01-06 11:28:05 +0100
commit277835adca10a696ac3e2a103ea537658c141a3c (patch)
tree30271960214a081563c1ded056707beb7d9fcfdc /drivers
parenttrivial: rtc-ds1511: fix sparse warning (diff)
downloadlinux-277835adca10a696ac3e2a103ea537658c141a3c.tar.xz
linux-277835adca10a696ac3e2a103ea537658c141a3c.zip
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')
-rw-r--r--drivers/rtc/rtc-stk17ta8.c2
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)
static __exit void stk17ta8_exit(void)
{
- return platform_driver_unregister(&stk17ta8_rtc_driver);
+ platform_driver_unregister(&stk17ta8_rtc_driver);
}
module_init(stk17ta8_init);