summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 15:08:34 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-29 05:45:18 +0000
commita7f02c52ca77b14305ad785c7a3bf6cf507d61ee (patch)
treec217e8c8069cfafcc3660416c47b34efff227309 /include
parentb351ec5a3da9f20a02b8f582328189d5fae3f918 (diff)
downloadchrome-ec-a7f02c52ca77b14305ad785c7a3bf6cf507d61ee.tar.gz
include/charger_profile_override.h: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I25b54c3a757a22c442172cf783e13910a32385aa Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730226 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/charger_profile_override.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/charger_profile_override.h b/include/charger_profile_override.h
index 091eb11946..a948638c40 100644
--- a/include/charger_profile_override.h
+++ b/include/charger_profile_override.h
@@ -10,7 +10,7 @@
#include "charge_state_v2.h"
-#define TEMPC_TENTHS_OF_DEG(c) ((c) * 10)
+#define TEMPC_TENTHS_OF_DEG(c) ((c)*10)
#define CHARGER_PROF_TEMP_C_LAST_RANGE 0xFFFF
@@ -69,10 +69,11 @@ int charger_profile_override(struct charge_state_data *curr);
* <0 An error occurred. The poll time will be shorter than usual.
* Too many errors in a row may trigger some corrective action.
*/
-int charger_profile_override_common(struct charge_state_data *curr,
- const struct fast_charge_params *fast_chg_params,
- const struct fast_charge_profile **prev_chg_prof_info,
- int batt_vtg_max);
+int charger_profile_override_common(
+ struct charge_state_data *curr,
+ const struct fast_charge_params *fast_chg_params,
+ const struct fast_charge_profile **prev_chg_prof_info,
+ int batt_vtg_max);
/*
* Access to custom profile params through host commands.