summaryrefslogtreecommitdiff
path: root/baseboard/volteer/battery_presence.c
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/volteer/battery_presence.c')
-rw-r--r--baseboard/volteer/battery_presence.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/baseboard/volteer/battery_presence.c b/baseboard/volteer/battery_presence.c
index 4953d7a49e..f143b67c91 100644
--- a/baseboard/volteer/battery_presence.c
+++ b/baseboard/volteer/battery_presence.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.
*
@@ -24,8 +24,9 @@ static bool 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);
}
__overridable bool board_battery_is_initialized(void)