From fa1653d240e7635b1cbf03e1e786f16a4ea7e95f Mon Sep 17 00:00:00 2001 From: Anton Staaf Date: Wed, 2 Mar 2016 13:42:18 -0800 Subject: GPIO: Rename and move board_set_gpio_hibernate_state This function is no longer GPIO specific and fits better as part of the system API, so this moves it there and renames it board_hibernate_late. Signed-off-by: Anton Staaf BRANCH=None BUG=None TEST=make buildall -j Change-Id: I39d3ecedadaaa22142cc82c79f5d25c891f3f38c Reviewed-on: https://chromium-review.googlesource.com/330124 Commit-Ready: Anton Staaf Tested-by: Anton Staaf Reviewed-by: Shawn N --- board/glados/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/glados') diff --git a/board/glados/board.c b/board/glados/board.c index 70ed60a5bb..37e00dbc06 100644 --- a/board/glados/board.c +++ b/board/glados/board.c @@ -428,7 +428,7 @@ static void board_chipset_suspend(void) } DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, board_chipset_suspend, HOOK_PRIO_DEFAULT); -void board_set_gpio_hibernate_state(void) +void board_hibernate_late(void) { /* Turn off LEDs in hibernate */ gpio_set_level(GPIO_CHARGE_LED_1, 0); -- cgit v1.2.1