mfd: twl-core: Improve the documentation
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 30 Jun 2017 08:02:21 +0000 (11:02 +0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 5 Sep 2017 07:45:59 +0000 (08:45 +0100)
commitff827cf5698b111b2e5f825cb9ee508115f94e8a
tree760d0dedeee533e779822772eb467edb5e71f09f
parent3f979bf8f56a22b2395edceed0dc371a538e34cc
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>
drivers/mfd/twl-core.c