projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc2974
)
cros_ec: Complete the comment for cros_ec_read_batt_charge()
author
Simon Glass
<sjg@chromium.org>
Mon, 28 Feb 2022 19:08:27 +0000
(12:08 -0700)
committer
Tom Rini
<trini@konsulko.com>
Wed, 6 Apr 2022 18:01:42 +0000
(14:01 -0400)
Add the missing 'Return' information.
Signed-off-by: Simon Glass <sjg@chromium.org>
include/cros_ec.h
patch
|
blob
|
history
diff --git
a/include/cros_ec.h
b/include/cros_ec.h
index
2a77286
..
94c988a
100644
(file)
--- 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);