projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa19689
)
drivers/rtc/rtc-max8925.c: fix max8925_rtc_read_alarm() return value error
author
Kevin Liu
<kliu5@marvell.com>
Fri, 23 Mar 2012 22:02:35 +0000
(15:02 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:39 +0000
(16:58 -0700)
max8925_rtc_read_alarm should always return 0 with success
Signed-off-by: Kevin Liu <kliu5@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-max8925.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-max8925.c
b/drivers/rtc/rtc-max8925.c
index 2d71943bc436ad9719d364d99361dd62f92268eb..ff6b9a2cb8e3db37ef02821eba86135c224891f6 100644
(file)
--- a/
drivers/rtc/rtc-max8925.c
+++ b/
drivers/rtc/rtc-max8925.c
@@
-204,6
+204,7
@@
static int max8925_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm)
alrm->pending = 1;
else
alrm->pending = 0;
+ return 0;
out:
return ret;
}