board/trembyle/board.c: Format with clang-format
BRANCH=none
TEST=none
@@ -220,10 +220,10 @@ static void board_chipset_resume(void)
rv = i2c_write8(I2C_PORT_USBA1,
PS8811_I2C_ADDR_FLAGS3 + PS8811_REG_PAGE1,
PS8811_REG1_USB_BEQ_LEVEL,
- (PS8811_BEQ_I2C_LEVEL_UP_13DB <<
- PS8811_BEQ_I2C_LEVEL_UP_SHIFT) |
- (PS8811_BEQ_PIN_LEVEL_UP_18DB <<
- PS8811_BEQ_PIN_LEVEL_UP_SHIFT));
+ (PS8811_BEQ_I2C_LEVEL_UP_13DB
+ << PS8811_BEQ_I2C_LEVEL_UP_SHIFT) |
+ (PS8811_BEQ_PIN_LEVEL_UP_18DB
+ << PS8811_BEQ_PIN_LEVEL_UP_SHIFT));
if (!rv)
break;
}
@@ -233,9 +233,7 @@ static void board_chipset_resume(void)
}
if (ec_config_has_hdmi_retimer_pi3hdx1204()) {
- pi3hdx1204_enable(I2C_PORT_TCPC1,
- PI3HDX1204_I2C_ADDR_FLAGS,
- 1);
+ pi3hdx1204_enable(I2C_PORT_TCPC1, PI3HDX1204_I2C_ADDR_FLAGS, 1);
}
}
DECLARE_HOOK(HOOK_CHIPSET_RESUME, board_chipset_resume, HOOK_PRIO_DEFAULT);
@@ -246,9 +244,7 @@ static void board_chipset_suspend(void)
ioex_set_level(IOEX_USB_A1_RETIMER_EN, 0);
if (ec_config_has_hdmi_retimer_pi3hdx1204()) {
- pi3hdx1204_enable(I2C_PORT_TCPC1,
- PI3HDX1204_I2C_ADDR_FLAGS,
- 0);
+ pi3hdx1204_enable(I2C_PORT_TCPC1, PI3HDX1204_I2C_ADDR_FLAGS, 0);
}
}
DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, board_chipset_suspend, HOOK_PRIO_DEFAULT);
@@ -265,8 +261,7 @@ static void setup_mux(void)
* Replace usb_muxes[USBC_PORT_C1] with the PS8802
* table entry.
*/
- memcpy(&usb_muxes[USBC_PORT_C1],
- &usbc1_ps8802,
+ memcpy(&usb_muxes[USBC_PORT_C1], &usbc1_ps8802,
sizeof(struct usb_mux));
/* Set the AMD FP5 as the secondary MUX */
@@ -282,8 +277,7 @@ static void setup_mux(void)
* Replace usb_muxes[USBC_PORT_C1] with the AMD FP5
* table entry.
*/
- memcpy(&usb_muxes[USBC_PORT_C1],
- &usbc1_amd_fp5_usb_mux,
+ memcpy(&usb_muxes[USBC_PORT_C1], &usbc1_amd_fp5_usb_mux,
sizeof(struct usb_mux));
/* Set the PS8818 as the secondary MUX */
