zephyr/projects/nissa/src/sub_board.c: Format with clang-format
BRANCH=none
TEST=none
@@ -105,16 +105,14 @@ static void nereid_subboard_config(void)
*/
if (sb == NISSA_SB_C_A || sb == NISSA_SB_HDMI_A) {
/* Configure VBUS enable, default off */
- gpio_pin_configure_dt(
- GPIO_DT_FROM_ALIAS(gpio_en_usb_a1_vbus),
+ gpio_pin_configure_dt(GPIO_DT_FROM_ALIAS(gpio_en_usb_a1_vbus),
GPIO_OUTPUT_LOW);
} else {
/* Turn off unused pins */
gpio_pin_configure_dt(
GPIO_DT_FROM_NODELABEL(gpio_sub_usb_a1_ilimit_sdp),
GPIO_DISCONNECTED);
- gpio_pin_configure_dt(
- GPIO_DT_FROM_ALIAS(gpio_en_usb_a1_vbus),
+ gpio_pin_configure_dt(GPIO_DT_FROM_ALIAS(gpio_en_usb_a1_vbus),
GPIO_DISCONNECTED);
/* Disable second USB-A port enable GPIO */
__ASSERT(USB_PORT_ENABLE_COUNT == 2,
@@ -127,8 +125,7 @@ static void nereid_subboard_config(void)
*/
if (sb == NISSA_SB_C_A || sb == NISSA_SB_C_LTE) {
/* Configure interrupt input */
- gpio_pin_configure_dt(
- GPIO_DT_FROM_ALIAS(gpio_usb_c1_int_odl),
+ gpio_pin_configure_dt(GPIO_DT_FROM_ALIAS(gpio_usb_c1_int_odl),
GPIO_INPUT | GPIO_PULL_UP);
} else {
/* Disable the port 1 charger task */
@@ -197,9 +194,9 @@ static void nereid_subboard_config(void)
/* Control LTE power when CPU entering or
* exiting S5 state.
*/
- ap_power_ev_init_callback(
- &power_cb, lte_power_handler,
- AP_POWER_SHUTDOWN | AP_POWER_PRE_INIT);
+ ap_power_ev_init_callback(&power_cb, lte_power_handler,
+ AP_POWER_SHUTDOWN |
+ AP_POWER_PRE_INIT);
ap_power_ev_add_callback(&power_cb);
break;
