summaryrefslogtreecommitdiff
path: root/include/battery.h
diff options
context:
space:
mode:
authorDave Parker <dparker@chromium.org>2014-04-19 14:09:42 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-04-29 03:11:05 +0000
commit6f21e3f5c1c61caac1535ec433210aac213c1c1c (patch)
treefd60f927ff58ce1e24a19a1d14f0116e8e923183 /include/battery.h
parent4e1472e3037602beec0eb5849ab76fb055d5a657 (diff)
downloadchrome-ec-6f21e3f5c1c61caac1535ec433210aac213c1c1c.tar.gz
Rename battery_vendor_params() to battery_override_params()
Charger V1 only. This is a clearer name for the intent of the function to override the charging parameters requested by the battery. This also disabmiguates this function with a new host command to get and set arbitrary vendor parameters in the battery. BUG=chrome-os-partner:25145 BRANCH=ToT TEST=`make buildall -j`. Change-Id: I1e8762d359c0e91c5b2a539553d22c12c9850c03 Signed-off-by: Dave Parker <dparker@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/195823 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/197164 Reviewed-by: Yung-chieh Lo <yjlou@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/battery.h')
-rw-r--r--include/battery.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/battery.h b/include/battery.h
index ee110d6684..cfc358bf4e 100644
--- a/include/battery.h
+++ b/include/battery.h
@@ -113,7 +113,7 @@ void battery_get_params(struct batt_params *batt);
*
* @param batt Battery parameters to modify
*/
-void battery_vendor_params(struct batt_params *batt);
+void battery_override_params(struct batt_params *batt);
/**
* Check for presence of battery.