From: Simon Glass Date: Mon, 28 Feb 2022 19:08:27 +0000 (-0700) Subject: cros_ec: Complete the comment for cros_ec_read_batt_charge() X-Git-Tag: v2022.07~118^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a50b56133315b16a03597d6a66c106e2e1de5903;p=platform%2Fkernel%2Fu-boot.git cros_ec: Complete the comment for cros_ec_read_batt_charge() Add the missing 'Return' information. Signed-off-by: Simon Glass --- 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 @@ int cros_ec_vstore_write(struct udevice *dev, int slot, const uint8_t *data, * * @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);