baseboard/octopus/variant_ec_ite8320.c: Format with clang-format
BRANCH=none
TEST=none
@@ -28,40 +28,30 @@ const int hibernate_wake_pins_used = ARRAY_SIZE(hibernate_wake_pins);
/******************************************************************************/
/* I2C port map configuration */
const struct i2c_port_t i2c_ports[] = {
- {
- .name = "power",
+ { .name = "power",
.port = IT83XX_I2C_CH_A,
.kbps = 100,
.scl = GPIO_I2C0_SCL,
- .sda = GPIO_I2C0_SDA
- },
- {
- .name = "sensor",
+ .sda = GPIO_I2C0_SDA },
+ { .name = "sensor",
.port = IT83XX_I2C_CH_B,
.kbps = 100,
.scl = GPIO_I2C1_SCL,
- .sda = GPIO_I2C1_SDA
- },
- {
- .name = "usbc0",
+ .sda = GPIO_I2C1_SDA },
+ { .name = "usbc0",
.port = IT83XX_I2C_CH_C,
.kbps = 400,
.scl = GPIO_I2C2_SCL,
- .sda = GPIO_I2C2_SDA
- },
- {
- .name = "usbc1",
+ .sda = GPIO_I2C2_SDA },
+ { .name = "usbc1",
.port = IT83XX_I2C_CH_E,
.kbps = 400,
.scl = GPIO_I2C4_SCL,
- .sda = GPIO_I2C4_SDA
- },
- {
- .name = "eeprom",
+ .sda = GPIO_I2C4_SDA },
+ { .name = "eeprom",
.port = IT83XX_I2C_CH_F,
.kbps = 100,
.scl = GPIO_I2C5_SCL,
- .sda = GPIO_I2C5_SDA
- },
+ .sda = GPIO_I2C5_SDA },
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
