diff options
author | Keith Short <keithshort@chromium.org> | 2019-08-20 11:06:09 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-09-18 03:31:44 +0000 |
commit | e9b16dbda0f7ec027c30e17905c4a737cdad2e02 (patch) | |
tree | d62bfe3fad5b377cff9ab30e62d34b8575b28ce5 /common/battery.c | |
parent | 1af858387ff7ccdd656db77340fc81b3dc7e4453 (diff) | |
download | chrome-ec-e9b16dbda0f7ec027c30e17905c4a737cdad2e02.tar.gz |
config: Merge CONFIG_CHARGER_V2 into CONFIG_CHARGER
For all boards that defined CONFIG_CHARGER, CONFIG_CHARGER_V2 is also
defined. Remove references to CONFIG_CHARGER_V2 from board header files.
Replace CONFIG_CHARGER_V2 in common C modules with CONFIG_CHARGER when
appropriate.
BUG=b:139699769
BRANCH=none
TEST=make buildall -j
Change-Id: I6b54baf4ad2406bbed629b6b272dad9ea6a81280
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1789420
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'common/battery.c')
-rw-r--r-- | common/battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/battery.c b/common/battery.c index 7f00e186ec..3f858f6f27 100644 --- a/common/battery.c +++ b/common/battery.c @@ -206,7 +206,7 @@ static void print_battery_info(void) ccprintf("%d mAh (%d mAh with %d %% compensation)\n", value, value*batt_full_factor/100, batt_full_factor); -#ifdef CONFIG_CHARGER_V2 +#ifdef CONFIG_CHARGER print_item_name("Display:"); value = charge_get_display_charge(); ccprintf("%d.%d %%\n", value / 10, value % 10); |