diff options
author | Ting Shen <phoenixshen@google.com> | 2020-05-21 14:18:00 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-27 06:55:08 +0000 |
commit | 9489dead113494fd35ae37427bf55de0535a2e80 (patch) | |
tree | 8422b0b75da91461dc5d5dec796911e92a0ead5a /include/charge_state_v2.h | |
parent | 51c31e05765111caac26d316544d2b6b74fcd1e0 (diff) | |
download | chrome-ec-9489dead113494fd35ae37427bf55de0535a2e80.tar.gz |
charge_state_v2: remove duplicated VIRTUAL_BATTERY_ADDR_FLAGS
The macro VIRTUAL_BATTERY_ADDR_FLAGS is defined in both
charge_state_v2.h and virtual_battery.h. Although identical macro
definition will not cause any problem during compile, it's better to
remove one if them.
Clean up by remove the charge_state_v2.h one.
BUG=None
TEST=make buildall
BRANCH=None
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ife6a260091caf74b25f5ef21a5cd6e04f0f17bae
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2211606
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Auto-Submit: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'include/charge_state_v2.h')
-rw-r--r-- | include/charge_state_v2.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/charge_state_v2.h b/include/charge_state_v2.h index e26c53e2d5..63839f532d 100644 --- a/include/charge_state_v2.h +++ b/include/charge_state_v2.h @@ -14,9 +14,6 @@ #ifndef __CROS_EC_CHARGE_STATE_V2_H #define __CROS_EC_CHARGE_STATE_V2_H -#if defined(CONFIG_I2C_VIRTUAL_BATTERY) && defined(CONFIG_BATTERY_SMART) -#define VIRTUAL_BATTERY_ADDR_FLAGS BATTERY_ADDR_FLAGS -#endif /* * The values exported by charge_get_state() and charge_get_flags() are used * only to control the LEDs (with one not-quite-correct exception). For V2 |