diff options
author | Christophe JAILLET <[email protected]> | 2018-11-14 18:19:51 +0100 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2018-11-22 18:11:35 +0100 |
commit | 41ef3878203cd9218d92eaa07df4b85a2cb128fb (patch) | |
tree | 75340578b09e9e4295a6b6bb76b90a22161f481c /tools/perf/util/c++/clang.cpp | |
parent | 41c9e132c5cc3e5f28cf44032ff82f7614a42989 (diff) |
rtc: max8997: Fix the returned value in case of error in 'max8997_rtc_read_alarm()'
In case of error, we return 0.
This is spurious and not consistent with the other functions of the driver.
Propagate the error code instead.
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions