driver/tcpm/raa489000.c: Format with clang-format
BRANCH=none
TEST=none
@@ -53,8 +53,7 @@ int raa489000_set_output_current(int port, enum tcpc_rp_value rp)
regval = AC_CURRENT_TO_REG(selected_cur) +
selected_cur % (DEFAULT_R_AC / R_AC);
- return tcpc_write16(port, RAA489000_VBUS_CURRENT_TARGET,
- regval);
+ return tcpc_write16(port, RAA489000_VBUS_CURRENT_TARGET, regval);
}
int raa489000_init(int port)
@@ -94,11 +93,11 @@ int raa489000_init(int port)
* can get the correct voltage.
*/
i2c_port = tcpc_config[port].i2c_info.port;
- rv = i2c_read16(i2c_port, ISL923X_ADDR_FLAGS,
- ISL9238_REG_CONTROL3, &regval);
+ rv = i2c_read16(i2c_port, ISL923X_ADDR_FLAGS, ISL9238_REG_CONTROL3,
+ &regval);
regval |= RAA489000_ENABLE_ADC;
- rv |= i2c_write16(i2c_port, ISL923X_ADDR_FLAGS,
- ISL9238_REG_CONTROL3, regval);
+ rv |= i2c_write16(i2c_port, ISL923X_ADDR_FLAGS, ISL9238_REG_CONTROL3,
+ regval);
if (rv)
CPRINTS("c%d: failed to enable ADCs", port);
@@ -108,7 +107,6 @@ int raa489000_init(int port)
if (rv)
CPRINTS("c%d: failed to enable vbus detect cmd", port);
-
/*
* If VBUS is present, start sinking from it if we haven't already
* chosen a charge port and no battery is connected. This is
