board/vell/thermal.c: Format with clang-format
BRANCH=none
TEST=none
@@ -96,10 +96,8 @@ static int fan_table_to_rpm(int fan, int *temp)
} else if (temp[TEMP_SENSOR_1_SOC] > prev_tmp[TEMP_SENSOR_1_SOC] ||
temp[TEMP_SENSOR_2_CHARGER] >
prev_tmp[TEMP_SENSOR_2_CHARGER] ||
- temp[TEMP_SENSOR_3_WWAN] >
- prev_tmp[TEMP_SENSOR_3_WWAN] ||
- temp[TEMP_SENSOR_4_DDR] >
- prev_tmp[TEMP_SENSOR_4_DDR]) {
+ temp[TEMP_SENSOR_3_WWAN] > prev_tmp[TEMP_SENSOR_3_WWAN] ||
+ temp[TEMP_SENSOR_4_DDR] > prev_tmp[TEMP_SENSOR_4_DDR]) {
for (i = current_level; i < NUM_FAN_LEVELS; i++) {
if (temp[TEMP_SENSOR_1_SOC] >
fan_table[i].on[TEMP_SENSOR_1_SOC] ||
@@ -129,10 +127,8 @@ static int fan_table_to_rpm(int fan, int *temp)
void board_override_fan_control(int fan, int *tmp)
{
- if (chipset_in_state(CHIPSET_STATE_ON |
- CHIPSET_STATE_ANY_SUSPEND)) {
+ if (chipset_in_state(CHIPSET_STATE_ON | CHIPSET_STATE_ANY_SUSPEND)) {
fan_set_rpm_mode(FAN_CH(fan), 1);
- fan_set_rpm_target(FAN_CH(fan),
- fan_table_to_rpm(fan, tmp));
+ fan_set_rpm_target(FAN_CH(fan), fan_table_to_rpm(fan, tmp));
}
}
