board/goroh/board.c: Format with clang-format
BRANCH=none
TEST=none
@@ -64,32 +64,26 @@ BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT);
/* PWM channels. */
const struct pwm_t pwm_channels[] = {
- [PWM_CH_LED_GREEN] = {
- .channel = PWM_HW_CH_DCR0,
- .flags = PWM_CONFIG_DSLEEP | PWM_CONFIG_OPEN_DRAIN |
+ [PWM_CH_LED_GREEN] = { .channel = PWM_HW_CH_DCR0,
+ .flags = PWM_CONFIG_DSLEEP |
+ PWM_CONFIG_OPEN_DRAIN |
PWM_CONFIG_ACTIVE_LOW,
.freq_hz = 324, /* maximum supported frequency */
- .pcfsr_sel = PWM_PRESCALER_C4
- },
- [PWM_CH_LED_RED] = {
- .channel = PWM_HW_CH_DCR1,
- .flags = PWM_CONFIG_DSLEEP | PWM_CONFIG_OPEN_DRAIN |
+ .pcfsr_sel = PWM_PRESCALER_C4 },
+ [PWM_CH_LED_RED] = { .channel = PWM_HW_CH_DCR1,
+ .flags = PWM_CONFIG_DSLEEP |
+ PWM_CONFIG_OPEN_DRAIN |
PWM_CONFIG_ACTIVE_LOW,
.freq_hz = 324, /* maximum supported frequency */
- .pcfsr_sel = PWM_PRESCALER_C4
- },
- [PWM_CH_FAN] = {
- .channel = PWM_HW_CH_DCR2,
+ .pcfsr_sel = PWM_PRESCALER_C4 },
+ [PWM_CH_FAN] = { .channel = PWM_HW_CH_DCR2,
.flags = PWM_CONFIG_OPEN_DRAIN,
.freq_hz = 25000, /* maximum supported frequency */
- .pcfsr_sel = PWM_PRESCALER_C4
- },
- [PWM_CH_KBLIGHT] = {
- .channel = PWM_HW_CH_DCR3,
+ .pcfsr_sel = PWM_PRESCALER_C4 },
+ [PWM_CH_KBLIGHT] = { .channel = PWM_HW_CH_DCR3,
.flags = PWM_CONFIG_DSLEEP,
.freq_hz = 25000,
- .pcfsr_sel = PWM_PRESCALER_C4
- },
+ .pcfsr_sel = PWM_PRESCALER_C4 },
};
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);
