diff options
author | Akshay Bhat <akshay.bhat@timesys.com> | 2017-11-08 14:58:14 -0500 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-11-09 01:16:35 +0100 |
commit | 804a6cfeb5c9e1caae86b345a5a8a50f77ddccc4 (patch) | |
tree | ade4aa4f12ae302baf386a11c5a01720add4a63a /drivers/mcb | |
parent | abf57f73ef0f88f215d35c1418bba0ab7bdee710 (diff) | |
download | linux-804a6cfeb5c9e1caae86b345a5a8a50f77ddccc4.tar.bz2 |
rtc: rx8010: Fix for incorrect return value
The err variable is not being reset after a successful read. Explicitly
return 0 at the end of function call to account for all return paths.
Reported-by: Jens-Peter Oswald <oswald@lre.de>
Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions