summaryrefslogtreecommitdiff
path: root/board/agah/led.c
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:19:33 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-29 08:23:57 +0000
commit83de023619b605d7de9e1d5ab38831ecfc815ee5 (patch)
tree9c6d74769d529164351aa9aa1cebf4cced608d5e /board/agah/led.c
parenta37b8fa0738f6355d7355a04bf9e1fadf379cdb0 (diff)
downloadchrome-ec-83de023619b605d7de9e1d5ab38831ecfc815ee5.tar.gz
board/agah/led.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I6116e28ed0ad2aaada18a147491bb66d6b6664fe Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3727973 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/agah/led.c')
-rw-r--r--board/agah/led.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/board/agah/led.c b/board/agah/led.c
index 12a7c3e09f..1a979ddd8d 100644
--- a/board/agah/led.c
+++ b/board/agah/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. */