summaryrefslogtreecommitdiff
path: root/board/brya
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:24:32 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-29 12:32:14 +0000
commit11868f1dcdedae8f12f9ae0b97fe92cb60f7a071 (patch)
treea1379e72e3ff652fccab9a80aae2b660ae5b5d4d /board/brya
parente8fc765fa3ef136a28acd9f498367d9707806078 (diff)
downloadchrome-ec-11868f1dcdedae8f12f9ae0b97fe92cb60f7a071.tar.gz
board/brya/led.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ifddd44ca31ea9ed6a4968efc80c1b5620218b65b Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728103 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/brya')
-rw-r--r--board/brya/led.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/board/brya/led.c b/board/brya/led.c
index 78c10e65b8..cddf8c971f 100644
--- a/board/brya/led.c
+++ b/board/brya/led.c
@@ -30,13 +30,10 @@ const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids);
* both LEDs being off. Cap at 50% to save power.
*/
struct pwm_led_color_map led_color_map[EC_LED_COLOR_COUNT] = {
- /* Amber, White */
- [EC_LED_COLOR_RED] = { 0, 0 },
- [EC_LED_COLOR_GREEN] = { 0, 0 },
- [EC_LED_COLOR_BLUE] = { 0, 0 },
- [EC_LED_COLOR_YELLOW] = { 0, 0 },
- [EC_LED_COLOR_WHITE] = { 0, 50 },
- [EC_LED_COLOR_AMBER] = { 50, 0 },
+ /* Amber, White */
+ [EC_LED_COLOR_RED] = { 0, 0 }, [EC_LED_COLOR_GREEN] = { 0, 0 },
+ [EC_LED_COLOR_BLUE] = { 0, 0 }, [EC_LED_COLOR_YELLOW] = { 0, 0 },
+ [EC_LED_COLOR_WHITE] = { 0, 50 }, [EC_LED_COLOR_AMBER] = { 50, 0 },
};
/* Two logical LEDs with amber and white channels. */