summaryrefslogtreecommitdiff
path: root/src/include/timer.h
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 12:18:53 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-09 17:18:42 +0100
commit708fc274b54dfd13fb83edae17cea9ead0a0f2be (patch)
tree12c20ab96d4dedcdb0224d37168d4f893513180b /src/include/timer.h
parentbb4ae07417c9b3be1af500a62514a2d42467cfb0 (diff)
downloadcoreboot-708fc274b54dfd13fb83edae17cea9ead0a0f2be.tar.xz
src/include: Indent code using tabs
Fix the following error and warning detected by checkpatch.pl: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line TEST=Build and run on Galileo Gen2 Change-Id: I487771b8f4d7e104457116b772cd32df5cd721a6 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18646 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include/timer.h')
-rw-r--r--src/include/timer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/timer.h b/src/include/timer.h
index 0105e32320..6b7baaf9fd 100644
--- a/src/include/timer.h
+++ b/src/include/timer.h
@@ -86,7 +86,7 @@ static inline void mono_time_add_msecs(struct mono_time *mt, long ms)
/* Compare two absolute times: Return -1, 0, or 1 if t1 is <, =, or > t2,
* respectively. */
static inline int mono_time_cmp(const struct mono_time *t1,
- const struct mono_time *t2)
+ const struct mono_time *t2)
{
if (t1->microseconds == t2->microseconds)
return 0;
@@ -99,14 +99,14 @@ static inline int mono_time_cmp(const struct mono_time *t1,
/* Return true if t1 after t2 */
static inline int mono_time_after(const struct mono_time *t1,
- const struct mono_time *t2)
+ const struct mono_time *t2)
{
return mono_time_cmp(t1, t2) > 0;
}
/* Return true if t1 before t2. */
static inline int mono_time_before(const struct mono_time *t1,
- const struct mono_time *t2)
+ const struct mono_time *t2)
{
return mono_time_cmp(t1, t2) < 0;
}