diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 15:37:42 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-29 11:05:58 +0000 |
commit | 6d4b73ac406acf77293659f425f17c9b0441d1eb (patch) | |
tree | fba769677adcac23e56af63428f12044a2339e26 /zephyr | |
parent | 85f40e43d169e02c04dc36b70a550cc949ea13d8 (diff) | |
download | chrome-ec-6d4b73ac406acf77293659f425f17c9b0441d1eb.tar.gz |
zephyr/shim/src/chipset_state_check.h: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I2e6a6f3b5e64691a8ae44b6e626e6a0408b9c7e2
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730889
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr')
-rw-r--r-- | zephyr/shim/src/chipset_state_check.h | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/zephyr/shim/src/chipset_state_check.h b/zephyr/shim/src/chipset_state_check.h index 879f700d89..78f3add6fb 100644 --- a/zephyr/shim/src/chipset_state_check.h +++ b/zephyr/shim/src/chipset_state_check.h @@ -9,19 +9,12 @@ #include "chipset.h" #include "ap_power/ap_power_interface.h" -BUILD_ASSERT((int)AP_POWER_STATE_HARD_OFF == - (int)CHIPSET_STATE_HARD_OFF); -BUILD_ASSERT((int)AP_POWER_STATE_SOFT_OFF == - (int)CHIPSET_STATE_SOFT_OFF); -BUILD_ASSERT((int)AP_POWER_STATE_SUSPEND == - (int)CHIPSET_STATE_SUSPEND); -BUILD_ASSERT((int)AP_POWER_STATE_ON == - (int)CHIPSET_STATE_ON); -BUILD_ASSERT((int)AP_POWER_STATE_STANDBY == - (int)CHIPSET_STATE_STANDBY); -BUILD_ASSERT((int)AP_POWER_STATE_ANY_OFF == - (int)CHIPSET_STATE_ANY_OFF); -BUILD_ASSERT((int)AP_POWER_STATE_ANY_SUSPEND == - (int)CHIPSET_STATE_ANY_SUSPEND); +BUILD_ASSERT((int)AP_POWER_STATE_HARD_OFF == (int)CHIPSET_STATE_HARD_OFF); +BUILD_ASSERT((int)AP_POWER_STATE_SOFT_OFF == (int)CHIPSET_STATE_SOFT_OFF); +BUILD_ASSERT((int)AP_POWER_STATE_SUSPEND == (int)CHIPSET_STATE_SUSPEND); +BUILD_ASSERT((int)AP_POWER_STATE_ON == (int)CHIPSET_STATE_ON); +BUILD_ASSERT((int)AP_POWER_STATE_STANDBY == (int)CHIPSET_STATE_STANDBY); +BUILD_ASSERT((int)AP_POWER_STATE_ANY_OFF == (int)CHIPSET_STATE_ANY_OFF); +BUILD_ASSERT((int)AP_POWER_STATE_ANY_SUSPEND == (int)CHIPSET_STATE_ANY_SUSPEND); #endif /* __CHIPSET_STATE_CHECK_H__ */ |