summaryrefslogtreecommitdiff
path: root/include/lightbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lightbar.h')
-rw-r--r--include/lightbar.h23
1 files changed, 5 insertions, 18 deletions
diff --git a/include/lightbar.h b/include/lightbar.h
index 2c8c143922..aff5e6fc68 100644
--- a/include/lightbar.h
+++ b/include/lightbar.h
@@ -1,4 +1,4 @@
-/* Copyright 2012 The Chromium OS Authors. All rights reserved.
+/* Copyright 2012 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -13,26 +13,13 @@
/* Define the types of sequences */
#define LBMSG(state) LIGHTBAR_##state
#include "lightbar_msg_list.h"
-enum lightbar_sequence {
- LIGHTBAR_MSG_LIST
- LIGHTBAR_NUM_SEQUENCES
-};
+enum lightbar_sequence { LIGHTBAR_MSG_LIST LIGHTBAR_NUM_SEQUENCES };
#undef LBMSG
/* Bytecode field constants */
-enum lb_color {
- LB_COL_RED,
- LB_COL_GREEN,
- LB_COL_BLUE,
- LB_COL_ALL
-};
+enum lb_color { LB_COL_RED, LB_COL_GREEN, LB_COL_BLUE, LB_COL_ALL };
-enum lb_control {
- LB_CONT_COLOR0,
- LB_CONT_COLOR1,
- LB_CONT_PHASE,
- LB_CONT_MAX
-};
+enum lb_control { LB_CONT_COLOR0, LB_CONT_COLOR1, LB_CONT_PHASE, LB_CONT_MAX };
#ifdef CONFIG_ALS_LIGHTBAR_DIMMING
/*
@@ -67,4 +54,4 @@ extern void demo_battery_level(int inc);
extern void demo_is_charging(int ischarge);
extern void demo_brightness(int inc);
extern void demo_tap(void);
-#endif /* __CROS_EC_LIGHTBAR_H */
+#endif /* __CROS_EC_LIGHTBAR_H */