common/main.c: Format with clang-format
BRANCH=none
TEST=none
@@ -185,8 +185,8 @@ test_mockable __keep int main(void)
/*
* Keyboard scan init/Button init can set recovery events to
* indicate to host entry into recovery mode. Before this is
- * done, LPC_HOST_EVENT_ALWAYS_REPORT mask needs to be initialized
- * correctly.
+ * done, LPC_HOST_EVENT_ALWAYS_REPORT mask needs to be
+ * initialized correctly.
*/
#ifdef CONFIG_HOSTCMD_X86
lpc_init_mask();
@@ -228,9 +228,9 @@ test_mockable __keep int main(void)
#endif /* defined(CONFIG_DEDICATED_RECOVERY_BUTTON | CONFIG_VOLUME_BUTTONS) */
/* Make sure recovery boot won't be paused. */
- if (IS_ENABLED(CONFIG_POWER_BUTTON_INIT_IDLE)
- && system_is_manual_recovery()
- && (system_get_reset_flags() & EC_RESET_FLAG_AP_IDLE)) {
+ if (IS_ENABLED(CONFIG_POWER_BUTTON_INIT_IDLE) &&
+ system_is_manual_recovery() &&
+ (system_get_reset_flags() & EC_RESET_FLAG_AP_IDLE)) {
CPRINTS("Clear AP_IDLE for recovery mode");
system_clear_reset_flags(EC_RESET_FLAG_AP_IDLE);
}
@@ -277,8 +277,7 @@ test_mockable __keep int main(void)
* transactions as the task is about to start and the I2C can resume
* to event based transactions.
*/
- if (IS_ENABLED(CONFIG_I2C_BITBANG) &&
- IS_ENABLED(CONFIG_I2C_CONTROLLER))
+ if (IS_ENABLED(CONFIG_I2C_BITBANG) && IS_ENABLED(CONFIG_I2C_CONTROLLER))
enable_i2c_raw_mode(false);
/*
