test/battery_get_params_smart.c: Format with clang-format
BRANCH=none
TEST=none
@@ -19,7 +19,6 @@ static int fail_on_first, fail_on_last;
static int read_count, write_count;
struct batt_params batt;
-
void battery_compensate_params(struct batt_params *batt)
{
}
@@ -44,17 +43,14 @@ int sb_read(int cmd, int *param)
if (read_count >= fail_on_first && read_count <= fail_on_last)
return EC_ERROR_UNKNOWN;
- return i2c_read16(I2C_PORT_BATTERY, BATTERY_ADDR_FLAGS,
- cmd, param);
+ return i2c_read16(I2C_PORT_BATTERY, BATTERY_ADDR_FLAGS, cmd, param);
}
int sb_write(int cmd, int param)
{
write_count++;
- return i2c_write16(I2C_PORT_BATTERY, BATTERY_ADDR_FLAGS,
- cmd, param);
+ return i2c_write16(I2C_PORT_BATTERY, BATTERY_ADDR_FLAGS, cmd, param);
}
-
/* Tests */
static int test_param_failures(void)
{
