summaryrefslogtreecommitdiff
path: root/baseboard/hatch/battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/hatch/battery.c')
-rw-r--r--baseboard/hatch/battery.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/baseboard/hatch/battery.c b/baseboard/hatch/battery.c
index 063aa3721d..5ae92e8ec8 100644
--- a/baseboard/hatch/battery.c
+++ b/baseboard/hatch/battery.c
@@ -1,4 +1,4 @@
-/* Copyright 2019 The Chromium OS Authors. All rights reserved.
+/* Copyright 2019 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -32,8 +32,9 @@ static int battery_init(void)
{
int batt_status;
- return battery_status(&batt_status) ? 0 :
- !!(batt_status & STATUS_INITIALIZED);
+ return battery_status(&batt_status) ?
+ 0 :
+ !!(batt_status & STATUS_INITIALIZED);
}
/*