summaryrefslogtreecommitdiff
path: root/board/shuboz/battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/shuboz/battery.c')
-rw-r--r--board/shuboz/battery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/shuboz/battery.c b/board/shuboz/battery.c
index 155cadab41..f24c50d931 100644
--- a/board/shuboz/battery.c
+++ b/board/shuboz/battery.c
@@ -1,4 +1,4 @@
-/* Copyright 2020 The Chromium OS Authors. All rights reserved.
+/* Copyright 2020 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -133,7 +133,7 @@ int charger_profile_override(struct charge_state_data *curr)
return 0;
if (current_level != 0) {
- if (curr->requested_current > current_table[current_level-1])
+ if (curr->requested_current > current_table[current_level - 1])
curr->requested_current =
current_table[current_level - 1];
}