diff options
author | Dave Parker <dparker@chromium.org> | 2014-04-19 14:09:42 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-04-29 03:11:05 +0000 |
commit | 6f21e3f5c1c61caac1535ec433210aac213c1c1c (patch) | |
tree | fd60f927ff58ce1e24a19a1d14f0116e8e923183 /common | |
parent | 4e1472e3037602beec0eb5849ab76fb055d5a657 (diff) | |
download | chrome-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 'common')
-rw-r--r-- | common/charge_state_v1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/charge_state_v1.c b/common/charge_state_v1.c index fc1fe28da3..3ddb513996 100644 --- a/common/charge_state_v1.c +++ b/common/charge_state_v1.c @@ -349,9 +349,9 @@ static int state_common(struct charge_state_context *ctx) *ctx->memmap_batt_flags &= ~EC_BATT_FLAG_LEVEL_CRITICAL; } -#ifdef CONFIG_BATTERY_VENDOR_PARAMS +#ifdef CONFIG_BATTERY_OVERRIDE_PARAMS /* Apply battery pack vendor charging method */ - battery_vendor_params(batt); + battery_override_params(batt); #endif #ifdef CONFIG_CHARGER_CURRENT_LIMIT |