diff options
Diffstat (limited to 'cts/common/cts_common.h')
-rw-r--r-- | cts/common/cts_common.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cts/common/cts_common.h b/cts/common/cts_common.h index 13a435e655..8fd9073c62 100644 --- a/cts/common/cts_common.h +++ b/cts/common/cts_common.h @@ -1,4 +1,4 @@ -/* Copyright 2016 The Chromium OS Authors. All rights reserved. +/* Copyright 2016 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -10,16 +10,16 @@ /* Console output macros */ #define CPUTS(outstr) cputs(CC_SYSTEM, outstr) -#define CPRINTF(format, args...) cprintf(CC_SYSTEM, format, ## args) -#define CPRINTS(format, args...) cprints(CC_SYSTEM, format, ## args) -#define CPRINTL(format, args...) CPRINTS("%s:%d: "format, \ - __func__, __LINE__, ## args) +#define CPRINTF(format, args...) cprintf(CC_SYSTEM, format, ##args) +#define CPRINTS(format, args...) cprints(CC_SYSTEM, format, ##args) +#define CPRINTL(format, args...) \ + CPRINTS("%s:%d: " format, __func__, __LINE__, ##args) -#define READ_WAIT_TIME_MS 100 -#define CTS_INTERRUPT_TRIGGER_DELAY_US (250 * MSEC) +#define READ_WAIT_TIME_MS 100 +#define CTS_INTERRUPT_TRIGGER_DELAY_US (250 * MSEC) enum cts_rc { - #include "cts.rc" +#include "cts.rc" }; struct cts_test { @@ -38,7 +38,7 @@ extern const int cts_test_count; * @test: List of tests to run * @name: Name of the test to be printed on EC console */ -void cts_main_loop(const struct cts_test* tests, const char *name); +void cts_main_loop(const struct cts_test *tests, const char *name); /** * Callback function called at the beginning of the main loop |