summaryrefslogtreecommitdiff
path: root/board/kuldax
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:43:40 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 00:09:14 +0000
commit12fcf228c6c6010f235f6ac3fdf4307fdea93c80 (patch)
tree191088543de18fb0a6ede4327c2c8d16c3ab2274 /board/kuldax
parent324712cbac410c55557d286f5b090914e875cf54 (diff)
downloadchrome-ec-12fcf228c6c6010f235f6ac3fdf4307fdea93c80.tar.gz
board/kuldax/pwm.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Iee258e22b31e59a3940cad2ce2606d5c3afb533b Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728603 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/kuldax')
-rw-r--r--board/kuldax/pwm.c25
1 files changed, 10 insertions, 15 deletions
diff --git a/board/kuldax/pwm.c b/board/kuldax/pwm.c
index 125d507a82..6d66ad7c31 100644
--- a/board/kuldax/pwm.c
+++ b/board/kuldax/pwm.c
@@ -11,21 +11,16 @@
#include "pwm_chip.h"
const struct pwm_t pwm_channels[] = {
- [PWM_CH_LED_GREEN] = {
- .channel = 0,
- .flags = PWM_CONFIG_ACTIVE_LOW | PWM_CONFIG_DSLEEP,
- .freq = 2000
- },
- [PWM_CH_FAN] = {
- .channel = 5,
- .flags = PWM_CONFIG_OPEN_DRAIN | PWM_CONFIG_DSLEEP,
- .freq = 1000
- },
- [PWM_CH_LED_RED] = {
- .channel = 2,
- .flags = PWM_CONFIG_ACTIVE_LOW | PWM_CONFIG_DSLEEP,
- .freq = 2000
- },
+ [PWM_CH_LED_GREEN] = { .channel = 0,
+ .flags = PWM_CONFIG_ACTIVE_LOW |
+ PWM_CONFIG_DSLEEP,
+ .freq = 2000 },
+ [PWM_CH_FAN] = { .channel = 5,
+ .flags = PWM_CONFIG_OPEN_DRAIN | PWM_CONFIG_DSLEEP,
+ .freq = 1000 },
+ [PWM_CH_LED_RED] = { .channel = 2,
+ .flags = PWM_CONFIG_ACTIVE_LOW | PWM_CONFIG_DSLEEP,
+ .freq = 2000 },
};
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);