Home
last modified time | relevance | path

Searched hist:ff827cf5 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Dtwl-core.cff827cf5 Fri Jun 30 03:02:21 CDT 2017 Dan Carpenter <dan.carpenter@oracle.com> 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>
ff827cf5 Fri Jun 30 03:02:21 CDT 2017 Dan Carpenter <dan.carpenter@oracle.com> 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>