summaryrefslogtreecommitdiff
path: root/zephyr/shim/src/ioex.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/src/ioex.c')
-rw-r--r--zephyr/shim/src/ioex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/shim/src/ioex.c b/zephyr/shim/src/ioex.c
index 56b10d1f48..a5d685bc48 100644
--- a/zephyr/shim/src/ioex.c
+++ b/zephyr/shim/src/ioex.c
@@ -1,4 +1,4 @@
-/* Copyright 2021 The Chromium OS Authors. All rights reserved.
+/* Copyright 2021 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -42,8 +42,8 @@ static int ioex_init_default(const struct device *unused)
for (i = 0; i < CONFIG_IO_EXPANDER_PORT_COUNT; i++) {
/* IO Expander has been initialized, skip re-initializing */
- if (ioex_config[i].flags & (IOEX_FLAGS_INITIALIZED |
- IOEX_FLAGS_DEFAULT_INIT_DISABLED))
+ if (ioex_config[i].flags &
+ (IOEX_FLAGS_INITIALIZED | IOEX_FLAGS_DEFAULT_INIT_DISABLED))
continue;
ret = ioex_init(i);