From 9c6aeea883776d4f759fe476a0d379223d63952b Mon Sep 17 00:00:00 2001 From: Ting Shen Date: Tue, 14 Sep 2021 16:13:48 +0800 Subject: cherry: code cleanup 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 Change-Id: I0231ba6c6bf16fa0fc1bf52fd77815271e79dcbb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3160456 Tested-by: Ting Shen Auto-Submit: Ting Shen Reviewed-by: Rong Chang Commit-Queue: Rong Chang --- board/cherry/battery.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'board/cherry/battery.c') 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 */ -- cgit v1.2.1