diff options
Diffstat (limited to 'baseboard/kukui/battery_mm8013.c')
-rw-r--r-- | baseboard/kukui/battery_mm8013.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/baseboard/kukui/battery_mm8013.c b/baseboard/kukui/battery_mm8013.c index e7f422e561..26507d5915 100644 --- a/baseboard/kukui/battery_mm8013.c +++ b/baseboard/kukui/battery_mm8013.c @@ -1,4 +1,4 @@ -/* Copyright 2018 The Chromium OS Authors. All rights reserved. +/* Copyright 2018 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * @@ -22,12 +22,9 @@ #define BAT_LEVEL_PD_LIMIT 85 -#define CPRINTS(format, args...) cprints(CC_CHARGER, format, ## args) +#define CPRINTS(format, args...) cprints(CC_CHARGER, format, ##args) -enum battery_type { - BATTERY_SCUD = 0, - BATTERY_COUNT -}; +enum battery_type { BATTERY_SCUD = 0, BATTERY_COUNT }; static const struct battery_info info[] = { [BATTERY_SCUD] = { @@ -100,7 +97,7 @@ int charger_profile_override(struct charge_state_data *curr) else { for (temp_zone = 0; temp_zone < TEMP_ZONE_COUNT; temp_zone++) { if (bat_temp_c < - temp_zones[BATT_ID][temp_zone].temp_max) + temp_zones[BATT_ID][temp_zone].temp_max) break; } } |