From 6c285c09941dfb1924b037476e823ecff20c897d Mon Sep 17 00:00:00 2001 From: ChromeOS Developer Date: Fri, 15 Mar 2013 14:55:53 -0700 Subject: Move external power detect for link to its own file Now that it doesn't need to leverage SWITCH_TASK to send the AC_CHANGE notification, pure GPIO-based external power detection can move from switch.c to its own file. BUG=chrome-os-partner:18256 BRANCH=none TEST=add AC power, UI shows charging indicator; remove AC, indicator goes away Change-Id: Id495f34185b7d971c241ac6d0a8311a6bf544507 Signed-off-by: Randall Spangler Reviewed-on: https://gerrit.chromium.org/gerrit/45789 --- include/switch.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/switch.h') diff --git a/include/switch.h b/include/switch.h index 9c4dfef498..ffb8eaee7b 100644 --- a/include/switch.h +++ b/include/switch.h @@ -23,11 +23,6 @@ void switch_interrupt(enum gpio_signal signal); */ void switch_task(void); -/** - * Return non-zero if AC power is present. - */ -int switch_get_ac_present(void); - /** * Return non-zero if lid is open. * -- cgit v1.2.1