summaryrefslogtreecommitdiff
path: root/board/atlas/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atlas/board.c')
-rw-r--r--board/atlas/board.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/atlas/board.c b/board/atlas/board.c
index fd38f1cee2..e0350cfd80 100644
--- a/board/atlas/board.c
+++ b/board/atlas/board.c
@@ -545,14 +545,12 @@ void board_set_charge_limit(int port, int supplier, int charge_ma,
static void board_chipset_suspend(void)
{
- gpio_set_level(GPIO_ENABLE_BACKLIGHT, 0);
gpio_set_level(GPIO_KBD_BL_EN, 0);
}
DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, board_chipset_suspend, HOOK_PRIO_DEFAULT);
static void board_chipset_resume(void)
{
- gpio_set_level(GPIO_ENABLE_BACKLIGHT, 1);
gpio_set_level(GPIO_KBD_BL_EN, 1);
}
DECLARE_HOOK(HOOK_CHIPSET_RESUME, board_chipset_resume, HOOK_PRIO_DEFAULT);