driver/tcpm/stm32gx.c: Format with clang-format
BRANCH=none
TEST=none
static int cached_rp[CONFIG_USB_PD_PORT_MAX_COUNT];
-
static int stm32gx_tcpm_get_message_raw(int port, uint32_t *buf, int *head)
{
return stm32gx_ucpd_get_message_raw(port, buf, head);
@@ -102,10 +101,8 @@ static int stm32gx_tcpm_set_rx_enable(int port, int enable)
return stm32gx_ucpd_set_rx_enable(port, enable);
}
-static int stm32gx_tcpm_transmit(int port,
- enum tcpci_msg_type type,
- uint16_t header,
- const uint32_t *data)
+static int stm32gx_tcpm_transmit(int port, enum tcpci_msg_type type,
+ uint16_t header, const uint32_t *data)
{
return stm32gx_ucpd_transmit(port, type, header, data);
}
@@ -115,8 +112,8 @@ static int stm32gx_tcpm_sop_prime_enable(int port, bool enable)
return stm32gx_ucpd_sop_prime_enable(port, enable);
}
-
-static int stm32gx_tcpm_get_chip_info(int port, int live,
+static int
+stm32gx_tcpm_get_chip_info(int port, int live,
struct ec_response_pd_chip_info_v1 *chip_info)
{
return stm32gx_ucpd_get_chip_info(port, live, chip_info);
