board/rammus/usb_pd_policy.c: Format with clang-format
BRANCH=none
TEST=none
@@ -53,7 +53,8 @@ int pd_set_power_supply_ready(int port)
{
/* Disable charging */
gpio_set_level(port ? GPIO_EN_USB_C1_CHARGE_EC_L :
- GPIO_EN_USB_C0_CHARGE_EC_L, 1);
+ GPIO_EN_USB_C0_CHARGE_EC_L,
+ 1);
/* Ensure we advertise the proper available current quota */
charge_manager_source_port(port, 1);
@@ -103,13 +104,11 @@ int pd_check_vconn_swap(int port)
return gpio_get_level(GPIO_SLP_SUS_L_PMIC);
}
-__override void pd_execute_data_swap(int port,
- enum pd_data_role data_role)
+__override void pd_execute_data_swap(int port, enum pd_data_role data_role)
{
/* Only port 0 supports device mode. */
if (port != 0)
return;
- gpio_set_level(GPIO_USB2_ID2,
- (data_role == PD_ROLE_UFP) ? 1 : 0);
+ gpio_set_level(GPIO_USB2_ID2, (data_role == PD_ROLE_UFP) ? 1 : 0);
}
