diff options
author | Anton Staaf <robotboy@chromium.org> | 2016-03-02 13:42:18 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-03-21 13:16:35 -0700 |
commit | fa1653d240e7635b1cbf03e1e786f16a4ea7e95f (patch) | |
tree | 4d41752eb464f4a254ecc5095d2adfa4bc93da9c /board/glados | |
parent | 952b2a54e12bfbf6635a5eb225ad777814ca9c92 (diff) | |
download | chrome-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.c | 2 |
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); |