common/temp_sensor.c: Format with clang-format
BRANCH=none
TEST=none
@@ -44,8 +44,7 @@ static void update_mapped_memory(void)
*/
if (i == EC_TEMP_SENSOR_ENTRIES)
mptr = host_get_memmap(EC_MEMMAP_TEMP_SENSOR_B);
- else if (i >= EC_TEMP_SENSOR_ENTRIES +
- EC_TEMP_SENSOR_B_ENTRIES)
+ else if (i >= EC_TEMP_SENSOR_ENTRIES + EC_TEMP_SENSOR_B_ENTRIES)
break;
switch (temp_sensor_read(i, &t)) {
@@ -147,8 +146,7 @@ static int command_temps(int argc, char **argv)
{
return print_temps();
}
-DECLARE_CONSOLE_COMMAND(temps, command_temps,
- NULL,
+DECLARE_CONSOLE_COMMAND(temps, command_temps, NULL,
"Print temp sensors and fan speed");
#endif
@@ -172,6 +170,5 @@ temp_sensor_command_get_info(struct host_cmd_handler_args *args)
return EC_RES_SUCCESS;
}
-DECLARE_HOST_COMMAND(EC_CMD_TEMP_SENSOR_GET_INFO,
- temp_sensor_command_get_info,
+DECLARE_HOST_COMMAND(EC_CMD_TEMP_SENSOR_GET_INFO, temp_sensor_command_get_info,
EC_VER_MASK(0));
