summaryrefslogtreecommitdiff
path: root/board/cherry/battery.c
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2021-09-14 16:13:48 +0800
committerCommit Bot <commit-bot@chromium.org>2021-09-14 14:21:20 +0000
commit9c6aeea883776d4f759fe476a0d379223d63952b (patch)
treee12331754fb006dea76154483e88cf15ef2fa914 /board/cherry/battery.c
parent5d157c8679880b8c86bb3944daa35ba25aece58b (diff)
downloadchrome-ec-9c6aeea883776d4f759fe476a0d379223d63952b.tar.gz
cherry: code cleanupstabilize-rust-14220.B-main
1) remove board_overcurrent_event since CL:2532676 added a default empty implementation 2) remove GPIO_EN_KB_BL control since it's already handled in keyboard_backlight.c 3) remove unused header includes 4) remove unused it5205 sbu handler BUG=none TEST=make BRANCH=main Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: I0231ba6c6bf16fa0fc1bf52fd77815271e79dcbb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3160456 Tested-by: Ting Shen <phoenixshen@chromium.org> Auto-Submit: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Rong Chang <rongchang@chromium.org> Commit-Queue: Rong Chang <rongchang@chromium.org>
Diffstat (limited to 'board/cherry/battery.c')
-rw-r--r--board/cherry/battery.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/board/cherry/battery.c b/board/cherry/battery.c
index 00404ce63c..612a1d4bc2 100644
--- a/board/cherry/battery.c
+++ b/board/cherry/battery.c
@@ -6,12 +6,6 @@
#include "battery.h"
#include "battery_fuel_gauge.h"
#include "battery_smart.h"
-#include "charge_manager.h"
-#include "chipset.h"
-#include "gpio.h"
-#include "hooks.h"
-#include "system.h"
-#include "usb_pd.h"
const struct board_batt_params board_battery_info[] = {
/* Panasonic AP16L5J Battery Information */