summaryrefslogtreecommitdiff
path: root/board/nightfury/battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/nightfury/battery.c')
-rw-r--r--board/nightfury/battery.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/board/nightfury/battery.c b/board/nightfury/battery.c
index a3b251229b..9e9b9baa74 100644
--- a/board/nightfury/battery.c
+++ b/board/nightfury/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.
*
@@ -111,10 +111,10 @@ enum battery_present variant_battery_present(void)
int charger_profile_override(struct charge_state_data *curr)
{
- if(chipset_in_state(CHIPSET_STATE_ANY_OFF))
+ if (chipset_in_state(CHIPSET_STATE_ANY_OFF))
return 0;
- if(curr->requested_current > CHARGING_CURRENT_45C)
+ if (curr->requested_current > CHARGING_CURRENT_45C)
curr->requested_current = CHARGING_CURRENT_45C;
return 0;
@@ -124,13 +124,13 @@ int charger_profile_override(struct charge_state_data *curr)
#define PARAM_FASTCHARGE (CS_PARAM_CUSTOM_PROFILE_MIN + 0)
enum ec_status charger_profile_override_get_param(uint32_t param,
- uint32_t *value)
+ uint32_t *value)
{
- return EC_RES_INVALID_PARAM;
+ return EC_RES_INVALID_PARAM;
}
enum ec_status charger_profile_override_set_param(uint32_t param,
- uint32_t value)
+ uint32_t value)
{
- return EC_RES_INVALID_PARAM;
+ return EC_RES_INVALID_PARAM;
}