board/kinox/pwm.c: Format with clang-format
BRANCH=none
TEST=none
Tricium: disable
#include "pwm_chip.h"
const struct pwm_t pwm_channels[] = {
- [PWM_CH_LED_GREEN] = {
- .channel = 0,
- .flags = PWM_CONFIG_ACTIVE_LOW | PWM_CONFIG_DSLEEP |
+ [PWM_CH_LED_GREEN] = { .channel = 0,
+ .flags = PWM_CONFIG_ACTIVE_LOW |
+ PWM_CONFIG_DSLEEP |
PWM_CONFIG_OPEN_DRAIN,
- .freq = 2000
- },
- [PWM_CH_FAN] = {
- .channel = 5,
+ .freq = 2000 },
+ [PWM_CH_FAN] = { .channel = 5,
.flags = PWM_CONFIG_OPEN_DRAIN,
- .freq = 25000
- },
- [PWM_CH_LED_RED] = {
- .channel = 2,
+ .freq = 25000 },
+ [PWM_CH_LED_RED] = { .channel = 2,
.flags = PWM_CONFIG_ACTIVE_LOW | PWM_CONFIG_DSLEEP,
- .freq = 2000
- },
+ .freq = 2000 },
};
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);
