projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24d431d
)
trivial: rtc-ds1511: fix sparse warning
author
Hannes Eder
<hannes@hanneseder.net>
Sun, 30 Nov 2008 13:05:45 +0000
(14:05 +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-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>
drivers/rtc/rtc-ds1511.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-ds1511.c
b/drivers/rtc/rtc-ds1511.c
index 25caada78398e76ee83d58507a6fed256eb306ef..062a1d11e3de03c78914fd27b12dab3628312d9a 100644
(file)
--- 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);