projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4367fa5
)
trivial: rtc-stk17ta8: fix sparse warning
author
Hannes Eder
<hannes@hanneseder.net>
Fri, 28 Nov 2008 16:11:47 +0000
(17:11 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 6 Jan 2009 10:28:05 +0000
(11:28 +0100)
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>
drivers/rtc/rtc-stk17ta8.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-stk17ta8.c
b/drivers/rtc/rtc-stk17ta8.c
index f4cd46e15af98830ac3c580c52563119e7bc103e..549990f33597ec2e9dabe30ef2d92313ab8b6af0 100644
(file)
--- 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);