diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-03-29 11:14:23 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-29 15:39:33 -0700 |
commit | c317992194ea089a97c4d54ef77ff4b1e283c248 (patch) | |
tree | ce9d426cd781d52b5ba2bf195d098ca3957de5db /common/pmu_tps65090_charger.c | |
parent | 49b9c0faa93129d35f674f12efde27b8d4e9006c (diff) | |
download | chrome-ec-c317992194ea089a97c4d54ef77ff4b1e283c248.tar.gz |
Rename charging task to CHARGER, charger_task
This makes the charging task name consistent across platform.
No functional changes, just renaming.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=build all EC boards
Change-Id: I348b31313f6604df2a05b474bdf6e0be7450c8c9
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/46891
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'common/pmu_tps65090_charger.c')
-rw-r--r-- | common/pmu_tps65090_charger.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/pmu_tps65090_charger.c b/common/pmu_tps65090_charger.c index 4da619ea39..c1c7a03e53 100644 --- a/common/pmu_tps65090_charger.c +++ b/common/pmu_tps65090_charger.c @@ -390,7 +390,7 @@ int charge_keep_power_off(void) return charge <= BATTERY_AP_OFF_LEVEL; } -void pmu_charger_task(void) +void charger_task(void) { int next_state; int wait_time = T1_USEC; @@ -527,7 +527,7 @@ void pmu_task_throttled_wake(void) timestamp_t now = get_time(); if (now.val - last_waken.val >= HOOK_TICK_INTERVAL) { has_pending_event = 0; - task_wake(TASK_ID_PMU_TPS65090_CHARGER); + task_wake(TASK_ID_CHARGER); } else { has_pending_event = 1; } @@ -537,7 +537,7 @@ static void wake_pmu_task_if_necessary(void) { if (has_pending_event) { has_pending_event = 0; - task_wake(TASK_ID_PMU_TPS65090_CHARGER); + task_wake(TASK_ID_CHARGER); } } DECLARE_HOOK(HOOK_TICK, wake_pmu_task_if_necessary, HOOK_PRIO_DEFAULT); |