summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:31:57 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 06:28:26 +0000
commita193d76e48112e71facf5c1ba9b09d925ea43266 (patch)
treeb09b2994e01855e2176e064215ffff9cbb457009 /board
parentedbb7b984f1e7d884c2434667199d46e56e92e0b (diff)
downloadchrome-ec-a193d76e48112e71facf5c1ba9b09d925ea43266.tar.gz
board/driblee/battery.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I0bdc962a1877a540cf87bbbad1837c0c6c16d3a0 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728257 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/driblee/battery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/driblee/battery.c b/board/driblee/battery.c
index 19f0312305..cc1661b7e2 100644
--- a/board/driblee/battery.c
+++ b/board/driblee/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;