Skip to content

Commit 7ade55b

Browse files
author
Josh Tsai
committed
Remove unused function
Signed-off-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com>
1 parent ac0b60c commit 7ade55b

3 files changed

Lines changed: 0 additions & 10 deletions

File tree

board/hx30/board.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -827,12 +827,6 @@ void board_hibernate_late(void)
827827
gpio_set_level(GPIO_SYS_RESET_L, 0);
828828
}
829829

830-
void thm_ft5399m_set_timeout_en(void)
831-
{
832-
CPRINTS("%s", __func__);
833-
i2c_write8(I2C_PORT_THERMAL_2, F75303_I2C_ADDR_FLAGS, 0x22, BIT(7));
834-
}
835-
836830
/* according to Panel team suggest, delay 60ms to meet spec */
837831
static void bkoff_on_deferred(void)
838832
{

board/hx30/board.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,6 @@
512512
#define I2C_PORT_TCPC MCHP_I2C_PORT3
513513
#define I2C_PORT_BATTERY MCHP_I2C_PORT1
514514
#define I2C_PORT_CHARGER MCHP_I2C_PORT1
515-
#define I2C_PORT_THERMAL_2 MCHP_I2C_PORT1
516515
#define I2C_PORT_THERMAL MCHP_I2C_PORT3
517516
#define I2C_PORT_ALS MCHP_I2C_PORT4
518517

@@ -771,8 +770,6 @@ int get_hardware_id(enum adc_channel channel);
771770

772771
int ac_boot_status(void);
773772

774-
void thm_ft5399m_set_timeout_en(void);
775-
776773
void update_me_change(int change);
777774

778775
int poweron_reason_powerbtn(void);

board/hx30/power_sequence.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,6 @@ enum power_state power_handle_state(enum power_state state)
526526
gpio_set_level(GPIO_SUSP_L, 1);
527527

528528
msleep(10);
529-
thm_ft5399m_set_timeout_en();
530529
f75303_set_enabled(1);
531530
f75397_set_enabled(1);
532531

0 commit comments

Comments
 (0)