summaryrefslogtreecommitdiff
path: root/test/usb_ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/usb_ppc.c')
-rw-r--r--test/usb_ppc.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/test/usb_ppc.c b/test/usb_ppc.c
index 0cf6f69bf3..d08ae47946 100644
--- a/test/usb_ppc.c
+++ b/test/usb_ppc.c
@@ -1,4 +1,4 @@
-/* Copyright 2019 The Chromium OS Authors. All rights reserved.
+/* Copyright 2019 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -28,15 +28,12 @@ const struct ppc_drv null_drv = {
};
struct ppc_config_t ppc_chips[] = {
- [0] = {
- .drv = &null_drv
- },
+ [0] = { .drv = &null_drv },
};
unsigned int ppc_cnt = ARRAY_SIZE(ppc_chips);
const struct tcpc_config_t tcpc_config[] = {
- [0] = {
- },
+ [0] = {},
};
static int test_ppc_init(void)
@@ -171,9 +168,7 @@ static int test_ppc_is_vbus_present(void)
return EC_SUCCESS;
}
-
-
-void run_test(int argc, char **argv)
+void run_test(int argc, const char **argv)
{
test_reset();