commit | ff827cf5698b111b2e5f825cb9ee508115f94e8a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Jun 30 11:02:21 2017 +0300 |
committer | Lee Jones <lee.jones@linaro.org> | Tue Sep 05 08:45:59 2017 +0100 |
tree | 760d0dedeee533e779822772eb467edb5e71f09f | |
parent | 3f979bf8f56a22b2395edceed0dc371a538e34cc [diff] |
mfd: twl-core: Improve the documentation Saying it "returns the result" seems tautological. The read function does not return num_bytes on success, it returns zero on success. I noticed this discrepancy because some of the callers were checking for >= 0. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>