diff options
Diffstat (limited to 'zephyr/shim/src/usba.c')
-rw-r--r-- | zephyr/shim/src/usba.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/zephyr/shim/src/usba.c b/zephyr/shim/src/usba.c index e8e1ca373a..4db8c31e6a 100644 --- a/zephyr/shim/src/usba.c +++ b/zephyr/shim/src/usba.c @@ -1,4 +1,4 @@ -/* Copyright 2022 The Chromium OS Authors. All rights reserved. +/* Copyright 2022 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -10,18 +10,18 @@ #if DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT) -#define PIN(node_id, prop, idx) GPIO_SIGNAL(DT_PHANDLE_BY_IDX(node_id, prop, idx)), +#define PIN(node_id, prop, idx) \ + GPIO_SIGNAL(DT_PHANDLE_BY_IDX(node_id, prop, idx)), BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 0, - "No compatible USBA Port Enable instance found"); + "No compatible USBA Port Enable instance found"); #define USBA_ENABLE_PINS(inst) DT_INST_FOREACH_PROP_ELEM(inst, enable_pins, PIN) #if !IS_ENABLED(CONFIG_PLATFORM_EC_USB_PORT_ENABLE_DYNAMIC) const #endif -int usb_port_enable[] = { - DT_INST_FOREACH_STATUS_OKAY(USBA_ENABLE_PINS) -}; + int usb_port_enable[] = { DT_INST_FOREACH_STATUS_OKAY( + USBA_ENABLE_PINS) }; #endif /* DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT) */ |