commit | a50b56133315b16a03597d6a66c106e2e1de5903 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Feb 28 12:08:27 2022 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Apr 06 14:01:42 2022 -0400 |
tree | d0737f7775dea2e72db5d6c091b932973e180149 | |
parent | 9dc29742c59888b0375d3975636e2b12c4a84683 [diff] [blame] |
cros_ec: Complete the comment for cros_ec_read_batt_charge() Add the missing 'Return' information. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/include/cros_ec.h b/include/cros_ec.h index 2a77286..94c988a 100644 --- a/include/cros_ec.h +++ b/include/cros_ec.h
@@ -648,6 +648,7 @@ * * @dev: CROS-EC device * @chargep: Return battery-charge state as a percentage + * Return: 0 if OK, -ve on error */ int cros_ec_read_batt_charge(struct udevice *dev, uint *chargep);