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/wheatley | |
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/wheatley')
-rw-r--r-- | board/wheatley/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/wheatley/board.c b/board/wheatley/board.c index 537214b0d7..987bc6db6d 100644 --- a/board/wheatley/board.c +++ b/board/wheatley/board.c @@ -376,7 +376,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) { int i; const uint32_t hibernate_pins[][2] = { |