diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-03-18 14:09:03 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-19 10:31:10 -0700 |
commit | c196c66432ea9d74a84602f4a49c4fd43de1ddd5 (patch) | |
tree | b582554168921b2e15fcb5a69380c748d9dfa516 /common/x86_power.c | |
parent | f2df09d60259eb6abe00899925a64f5131dc2b10 (diff) | |
download | chrome-ec-c196c66432ea9d74a84602f4a49c4fd43de1ddd5.tar.gz |
Call AC change hook from the hook task
Using code like this, modules which service interrupts and notify
hooks will no longer need to have their own tasks to call
hook_notify() from. They can share the hook task as long as they
don't mind the notification possibly being deferred.
BUG=chrome-os-partner:18256
BRANCH=none
TEST=add AC power, UI shows charging indicator; remove AC, indicator goes away
Change-Id: I1bc32d21b2202c3242d39e0fc533198cd5bb9c66
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/45780
Diffstat (limited to 'common/x86_power.c')
0 files changed, 0 insertions, 0 deletions