zephyr/shim/src/charger.c: Format with clang-format
BRANCH=none
TEST=none
@@ -23,11 +23,14 @@ struct charger_config_t chg_chips[] = {
CHG_CONFIG_BQ25710)
DT_FOREACH_STATUS_OKAY_VARGS(ISL923X_CHG_COMPAT, CHG_CHIP,
CHG_CONFIG_ISL923X)
- DT_FOREACH_STATUS_OKAY_VARGS(ISL9241_CHG_COMPAT, CHG_CHIP,
+ DT_FOREACH_STATUS_OKAY_VARGS(ISL9241_CHG_COMPAT,
+ CHG_CHIP,
CHG_CONFIG_ISL9241)
- DT_FOREACH_STATUS_OKAY_VARGS(RT9490_CHG_COMPAT, CHG_CHIP,
+ DT_FOREACH_STATUS_OKAY_VARGS(RT9490_CHG_COMPAT,
+ CHG_CHIP,
CHG_CONFIG_RT9490)
- DT_FOREACH_STATUS_OKAY_VARGS(SM5803_CHG_COMPAT, CHG_CHIP,
+ DT_FOREACH_STATUS_OKAY_VARGS(
+ SM5803_CHG_COMPAT, CHG_CHIP,
CHG_CONFIG_SM5803)
};
@@ -36,7 +39,8 @@ BUILD_ASSERT(ARRAY_SIZE(chg_chips) == 1,
"For the CHARGER_SINGLE_CHIP config, the number of defined charger "
"chips must equal 1.");
#else
-BUILD_ASSERT(ARRAY_SIZE(chg_chips) == CONFIG_USB_PD_PORT_MAX_COUNT,
+BUILD_ASSERT(
+ ARRAY_SIZE(chg_chips) == CONFIG_USB_PD_PORT_MAX_COUNT,
"For the OCPC config, the number of defined charger chips must equal "
"the number of USB-C ports.");
#endif
