board/spherion/board.c: Format with clang-format
BRANCH=none
TEST=none
@@ -82,12 +82,10 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
* number of pwm channel greater than three.
*/
const struct pwm_t pwm_channels[] = {
- [PWM_CH_KBLIGHT] = {
- .channel = PWM_HW_CH_DCR2,
+ [PWM_CH_KBLIGHT] = { .channel = PWM_HW_CH_DCR2,
.flags = 0,
.freq_hz = 10000,
- .pcfsr_sel = PWM_PRESCALER_C4
- },
+ .pcfsr_sel = PWM_PRESCALER_C4 },
};
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);
@@ -106,11 +104,9 @@ DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, kb_backlight_disable, HOOK_PRIO_DEFAULT);
void board_usb_mux_init(void)
{
if (board_get_sub_board() == SUB_BOARD_TYPEC) {
- ps8743_tune_usb_eq(&usb_muxes[1],
- PS8743_USB_EQ_TX_12_8_DB,
+ ps8743_tune_usb_eq(&usb_muxes[1], PS8743_USB_EQ_TX_12_8_DB,
PS8743_USB_EQ_RX_12_8_DB);
- ps8743_field_update(&usb_muxes[1],
- PS8743_REG_DCI_CONFIG_2,
+ ps8743_field_update(&usb_muxes[1], PS8743_REG_DCI_CONFIG_2,
PS8743_AUTO_DCI_MODE_MASK,
PS8743_AUTO_DCI_MODE_FORCE_USB);
}
