diff options
Diffstat (limited to 'board/spherion/battery.c')
-rw-r--r-- | board/spherion/battery.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/board/spherion/battery.c b/board/spherion/battery.c index 3613a4750c..83361bd9fc 100644 --- a/board/spherion/battery.c +++ b/board/spherion/battery.c @@ -1,4 +1,4 @@ -/* Copyright 2021 The Chromium OS Authors. All rights reserved. +/* Copyright 2021 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -88,11 +88,12 @@ int charger_profile_override(struct charge_state_data *curr) temp_sensor_read(TEMP_SENSOR_CHARGER, &charger_temp); charger_temp_c = K_TO_C(charger_temp); if (charger_temp_c > 52) - curr->requested_current = MIN(curr->requested_current, - 2200); + curr->requested_current = + MIN(curr->requested_current, 2200); else if (charger_temp_c > 48) - curr->requested_current = MIN(curr->requested_current, - CONFIG_CHARGER_MAX_INPUT_CURRENT); + curr->requested_current = + MIN(curr->requested_current, + CONFIG_CHARGER_MAX_INPUT_CURRENT); } return 0; |