zephyr/test/drivers/src/integration/usbc/usb_20v_3a_pd_charger.c: Format with clang-format
BRANCH=none
TEST=none
@@ -26,12 +26,11 @@ static inline void
connect_charger_to_port(struct usb_attach_20v_3a_pd_charger_fixture *fixture)
{
set_ac_enabled(true);
- zassume_ok(tcpci_partner_connect_to_tcpci(
- &fixture->charger_20v, fixture->tcpci_emul),
+ zassume_ok(tcpci_partner_connect_to_tcpci(&fixture->charger_20v,
+ fixture->tcpci_emul),
NULL);
- isl923x_emul_set_adc_vbus(
- fixture->charger_emul,
+ isl923x_emul_set_adc_vbus(fixture->charger_emul,
PDO_FIXED_GET_VOLT(fixture->src_ext.pdo[1]));
/* Wait for PD negotiation and current ramp.
@@ -61,9 +60,8 @@ static void *usb_attach_20v_3a_pd_charger_setup(void)
/* Initialized the charger to supply 20V and 3A */
tcpci_partner_init(&test_fixture.charger_20v, PD_REV20);
- test_fixture.charger_20v.extensions =
- tcpci_src_emul_init(&test_fixture.src_ext,
- &test_fixture.charger_20v, NULL);
+ test_fixture.charger_20v.extensions = tcpci_src_emul_init(
+ &test_fixture.src_ext, &test_fixture.charger_20v, NULL);
test_fixture.src_ext.pdo[1] =
PDO_FIXED(20000, 3000, PDO_FIXED_UNCONSTRAINED);
