zephyr/shim/src/battery.c: Format with clang-format
BRANCH=none
TEST=none
},
#define NODE_BATT_PARAMS(node) \
-{ \
- .fuel_gauge = NODE_FUEL_GAUGE(node) \
- .batt_info = NODE_BATT_INFO(node) \
-},
+ { .fuel_gauge = NODE_FUEL_GAUGE(node).batt_info = \
+ NODE_BATT_INFO(node) },
#if DT_HAS_COMPAT_STATUS_OKAY(battery_smart)
-const struct board_batt_params board_battery_info[] = {
- DT_FOREACH_STATUS_OKAY(battery_smart, NODE_BATT_PARAMS)
-};
+const struct board_batt_params board_battery_info[] = { DT_FOREACH_STATUS_OKAY(
+ battery_smart, NODE_BATT_PARAMS) };
#if DT_NODE_EXISTS(DT_NODELABEL(default_battery))
#define BAT_ENUM(node) DT_CAT(BATTERY_, node)
