summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 15:34:49 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-29 05:49:36 +0000
commit51e37892d588dece6737cfacd20e3f64ca9a041b (patch)
treeca9e80ce57c75814f34035662ddd6c0d0716315e
parent51fa1b1aba348f62e41bf9309e072e9deed1965b (diff)
downloadchrome-ec-51e37892d588dece6737cfacd20e3f64ca9a041b.tar.gz
zephyr/shim/chip/npcx/shi.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: If34d4088b6bea5f4c7b0aa3a177f3720d1c629b0 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728334 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r--zephyr/shim/chip/npcx/shi.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/zephyr/shim/chip/npcx/shi.c b/zephyr/shim/chip/npcx/shi.c
index 9e52228e37..74dfca12cd 100644
--- a/zephyr/shim/chip/npcx/shi.c
+++ b/zephyr/shim/chip/npcx/shi.c
@@ -83,12 +83,11 @@ static void shi_init(void)
ap_power_ev_init_callback(&cb, shi_power_change,
#if CONFIG_PLATFORM_EC_CHIPSET_RESUME_INIT_HOOK
AP_POWER_RESUME_INIT |
- AP_POWER_SUSPEND_COMPLETE
+ AP_POWER_SUSPEND_COMPLETE
#else
- AP_POWER_RESUME |
- AP_POWER_SUSPEND
+ AP_POWER_RESUME | AP_POWER_SUSPEND
#endif
- );
+ );
ap_power_ev_add_callback(&cb);
if (IS_ENABLED(CONFIG_CROS_SHI_NPCX_DEBUG) ||