common/usbc_ocp.c: Format with clang-format
BRANCH=none
TEST=none
@@ -102,7 +102,6 @@ static void re_enable_ports(void)
}
DECLARE_DEFERRED(re_enable_ports);
-
int usbc_ocp_add_event(int port)
{
int delay = 0;
@@ -148,11 +147,9 @@ int usbc_ocp_add_event(int port)
hook_call_deferred(&re_enable_ports_data, delay);
}
-
return EC_SUCCESS;
}
-
int usbc_ocp_clear_event_counter(int port)
{
if ((port < 0) || (port >= board_get_usb_pd_port_count())) {
@@ -168,8 +165,7 @@ int usbc_ocp_clear_event_counter(int port)
* actually detect the physical disconnect.
*/
if (oc_event_cnt_tbl[port]) {
- hook_call_deferred(&clear_oc_tbl_data,
- OCP_COOLDOWN_DELAY_US);
+ hook_call_deferred(&clear_oc_tbl_data, OCP_COOLDOWN_DELAY_US);
}
return EC_SUCCESS;
}
