summaryrefslogtreecommitdiff
path: root/board/cret
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:28:35 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-30 23:25:19 +0000
commit8d98f148c634b891b800586f65fa922d01f3d841 (patch)
tree1c8c7d88fefc0b9df8d5eb763b7bb27e003b5302 /board/cret
parent09d6310cb382c5a3803caa55aa541009469d6bce (diff)
downloadchrome-ec-8d98f148c634b891b800586f65fa922d01f3d841.tar.gz
board/cret/battery.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I19f1df7315bfb40281479ebf88aa8b3a45dfe0db Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728186 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/cret')
-rw-r--r--board/cret/battery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/cret/battery.c b/board/cret/battery.c
index ee5def4183..a78ec43836 100644
--- a/board/cret/battery.c
+++ b/board/cret/battery.c
@@ -638,8 +638,8 @@ const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_BYD_1VX1H;
int charger_profile_override(struct charge_state_data *curr)
{
if (chipset_in_state(CHIPSET_STATE_ON)) {
- curr->requested_current = MIN(curr->requested_current,
- CHARGING_CURRENT_1100MA);
+ curr->requested_current =
+ MIN(curr->requested_current, CHARGING_CURRENT_1100MA);
}
return 0;