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-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a50b56133315b16a03597d6a66c106e2e1de5903;p=u-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 2a7728622c..94c988a7d6 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);