diff options
author | Javier Martinez Canillas <[email protected]> | 2016-01-27 00:36:37 -0300 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2016-02-04 23:42:06 +0100 |
commit | 7cdffeb534360609d57a39403ee951e08dcffbe7 (patch) | |
tree | 61640626027a4321a4ed0eb22cd4cda32db023d0 /tools/perf/scripts/python | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
rtc: max77686: Fix max77686_rtc_read_alarm() return value
The function is always returning zero even in case of failures since
the ret value was not propagated to the callers. Fix the error path.
Reported-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Tested-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Laxman Dewangan <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions