board/chronicler/board.c: Format with clang-format
BRANCH=none
TEST=none
@@ -82,8 +82,8 @@ const struct fan_t fans[FAN_CH_COUNT] = {
[EC_TEMP_THRESH_HIGH] = C_TO_K(65), \
}, \
}
-__maybe_unused static const struct ec_thermal_config
- thermal_config_without_fan = THERMAL_CONFIG_WITHOUT_FAN;
+__maybe_unused static const struct ec_thermal_config thermal_config_without_fan =
+ THERMAL_CONFIG_WITHOUT_FAN;
/*
* TODO(b/202062363): Remove when clang is fixed.
@@ -287,8 +287,8 @@ static const struct ec_response_keybd_config main_kb = {
.capabilities = KEYBD_CAP_SCRNLOCK_KEY,
};
-__override const struct ec_response_keybd_config
-*board_vivaldi_keybd_config(void)
+__override const struct ec_response_keybd_config *
+board_vivaldi_keybd_config(void)
{
return &main_kb;
}
@@ -346,8 +346,8 @@ static int get_battery_run_time_day(uint32_t *battery_run_time)
uint8_t data[6];
/* get battery run time */
- rv = sb_read_mfgacc(PARAM_FIRMWARE_RUNTIME,
- SB_ALT_MANUFACTURER_ACCESS, data, sizeof(data));
+ rv = sb_read_mfgacc(PARAM_FIRMWARE_RUNTIME, SB_ALT_MANUFACTURER_ACCESS,
+ data, sizeof(data));
if (rv)
return EC_ERROR_UNKNOWN;
@@ -357,8 +357,8 @@ static int get_battery_run_time_day(uint32_t *battery_run_time)
run_time = *(int32_t *)(&data[2]);
#ifdef BATTERY_RUNTIME_TEST
- cprints(CC_CHARGER, "run_time : 0x%08x (%d day)",
- run_time, (run_time / 86400));
+ cprints(CC_CHARGER, "run_time : 0x%08x (%d day)", run_time,
+ (run_time / 86400));
/* manual battery run time fot test */
if (manual_run_time != -1)
@@ -388,8 +388,8 @@ int charger_profile_override(struct charge_state_data *curr)
break;
}
- curr->requested_voltage = MIN(curr->requested_voltage,
- voltage_drop_table[i].drop_volt);
+ curr->requested_voltage =
+ MIN(curr->requested_voltage, voltage_drop_table[i].drop_volt);
#ifdef BATTERY_RUNTIME_TEST
cprints(CC_CHARGER,
"Charger: run time(day): %d, drop level: %d, CV: %d",
