summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Huang <David.Huang@quantatw.com>2015-05-13 13:19:07 +0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-13 23:10:19 +0000
commitb728ab96e383f7f7cb3fdf0b7d8b2c8979c00c73 (patch)
treedc47c039429db0fd861a1c2102fbf393f79c6efc
parentfb088e89fed661b8f107684e3470e8310b0ef039 (diff)
downloadchrome-ec-b728ab96e383f7f7cb3fdf0b7d8b2c8979c00c73.tar.gz
Modify for fix battery.c typo
Modify for fix battery.c typo BRANCH=gandof BUG=chrome-os-partner:39858 TEST=Use "make buildall -j" to check build pass. Change-Id: Ib10bde3368c0497cdd8126c4e7207dedc33d342c Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/270602 Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: David Wu <david_wu@quantatw.com> Tested-by: David Wu <david_wu@quantatw.com>
-rw-r--r--board/gandof/battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gandof/battery.c b/board/gandof/battery.c
index 1f3b131966..871c590112 100644
--- a/board/gandof/battery.c
+++ b/board/gandof/battery.c
@@ -53,7 +53,7 @@ static void wakeup_deferred(void)
int tmp;
if (extpower_is_present()) {
sb_read(SB_FET_STATUS_REG, &tmp);
- if ((tmp & SB_FET_OFF_STATUS) {
+ if (tmp & SB_FET_OFF_STATUS) {
sb_write(SB_FET_ONOFF_REG, SB_FET_ON_DATA);
CPRINTF("[%T Battery wakeup]\n");
}