summaryrefslogtreecommitdiff
path: root/board/samus_pd
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2015-07-10 16:08:57 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-13 03:18:38 +0000
commit10dc22867f8a81c2bf72d2a009b560064d5e1170 (patch)
tree0763c8727cc2d1d94ff9d23d23b05dd3094aa54e /board/samus_pd
parent16d40b0b3c567a5e18ea28469a09f860819d3fdd (diff)
downloadchrome-ec-10dc22867f8a81c2bf72d2a009b560064d5e1170.tar.gz
cleanup: remove board function callback on charge override timeoutrelease-R45-7262.B
Remove board function callback on charge override timeout, since the implementation should be common to all boards: send host event. This function is called when a power swap fails during an issued charge override and notifies the host so that it is aware that the power swap did not succeed. BUG=none BRANCH=smaug TEST=make -j buildall Change-Id: Ia2a078a17aef6b302fd2b9fd21a5a92c628fd7db Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/284923 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/samus_pd')
-rw-r--r--board/samus_pd/board.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/board/samus_pd/board.c b/board/samus_pd/board.c
index 2325f7090d..d7c2c8b6e8 100644
--- a/board/samus_pd/board.c
+++ b/board/samus_pd/board.c
@@ -159,13 +159,6 @@ void vbus1_evt(enum gpio_signal signal)
task_wake(TASK_ID_PD_C1);
}
-/* Charge manager callback function, called on delayed override timeout */
-void board_charge_manager_override_timeout(void)
-{
- pd_send_host_event(PD_EVENT_POWER_CHANGE);
-}
-DECLARE_DEFERRED(board_charge_manager_override_timeout);
-
static void wake_usb_charger_task(int port)
{
task_wake(port ? TASK_ID_USB_CHG_P1 : TASK_ID_USB_CHG_P0);