From a50b56133315b16a03597d6a66c106e2e1de5903 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 28 Feb 2022 12:08:27 -0700 Subject: [PATCH] cros_ec: Complete the comment for cros_ec_read_batt_charge() Add the missing 'Return' information. Signed-off-by: Simon Glass --- include/cros_ec.h | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5