summaryrefslogtreecommitdiff
path: root/include/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/button.h')
-rw-r--r--include/button.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/button.h b/include/button.h
index 30d2969e8c..937b280876 100644
--- a/include/button.h
+++ b/include/button.h
@@ -1,4 +1,4 @@
-/* Copyright 2014 The Chromium OS Authors. All rights reserved.
+/* Copyright 2014 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -13,9 +13,8 @@
#include "gpio_signal.h"
#include "ec_commands.h"
-#define BUTTON_FLAG_ACTIVE_HIGH BIT(0)
-#define BUTTON_FLAG_DISABLED BIT(1) /* Button disabled */
-
+#define BUTTON_FLAG_ACTIVE_HIGH BIT(0)
+#define BUTTON_FLAG_DISABLED BIT(1) /* Button disabled */
#define BUTTON_DEBOUNCE_US (30 * MSEC)
@@ -103,4 +102,4 @@ int button_is_adc_detected(enum gpio_signal gpio);
*/
int adc_to_physical_value(enum gpio_signal gpio);
-#endif /* __CROS_EC_BUTTON_H */
+#endif /* __CROS_EC_BUTTON_H */