summaryrefslogtreecommitdiff
path: root/board/glados
diff options
context:
space:
mode:
authorAnton Staaf <robotboy@chromium.org>2016-03-02 13:42:18 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-03-21 13:16:35 -0700
commitfa1653d240e7635b1cbf03e1e786f16a4ea7e95f (patch)
tree4d41752eb464f4a254ecc5095d2adfa4bc93da9c /board/glados
parent952b2a54e12bfbf6635a5eb225ad777814ca9c92 (diff)
downloadchrome-ec-fa1653d240e7635b1cbf03e1e786f16a4ea7e95f.tar.gz
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 <robotboy@chromium.org> BRANCH=None BUG=None TEST=make buildall -j Change-Id: I39d3ecedadaaa22142cc82c79f5d25c891f3f38c Reviewed-on: https://chromium-review.googlesource.com/330124 Commit-Ready: Anton Staaf <robotboy@chromium.org> Tested-by: Anton Staaf <robotboy@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/glados')
-rw-r--r--board/glados/board.c2
1 files changed, 1 insertions, 1 deletions
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);