summaryrefslogtreecommitdiff
path: root/include/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/timer.h')
-rw-r--r--include/timer.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/timer.h b/include/timer.h
index 6f9b4ea7b0..7170a35056 100644
--- a/include/timer.h
+++ b/include/timer.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.
*/
@@ -19,11 +19,11 @@ typedef long clock_t;
#include "task_id.h"
/* Time units in microseconds */
-#define MSEC 1000
-#define SECOND 1000000
-#define SEC_UL 1000000ul
-#define MINUTE 60000000
-#define HOUR 3600000000ull /* Too big to fit in a signed int */
+#define MSEC 1000
+#define SECOND 1000000
+#define SEC_UL 1000000ul
+#define MINUTE 60000000
+#define HOUR 3600000000ull /* Too big to fit in a signed int */
/* Microsecond timestamp. */
typedef union {
@@ -34,7 +34,6 @@ typedef union {
} le /* little endian words */;
} timestamp_t;
-
/**
* Initialize the timer module.
*/
@@ -195,4 +194,4 @@ static inline int time_after(uint32_t a, uint32_t b)
extern timestamp_t *get_time_mock;
#endif /* CONFIG_ZTEST */
-#endif /* __CROS_EC_TIMER_H */
+#endif /* __CROS_EC_TIMER_H */