zephyr/shim/include/usbc/tcpci_usb_mux.h: Format with clang-format
BRANCH=none
TEST=none
USB_MUX_FLAG_NOT_TCPC, \
USB_MUX_FLAG_NOT_TCPC), \
.driver = &tcpci_tcpm_usb_mux_driver, \
- .hpd_update = USB_MUX_CALLBACK_OR_NULL(mux_id, \
- hpd_update), \
+ .hpd_update = \
+ USB_MUX_CALLBACK_OR_NULL(mux_id, hpd_update), \
.i2c_port = I2C_PORT(DT_PHANDLE(mux_id, port)), \
.i2c_addr_flags = DT_PROP(mux_id, i2c_addr_flags), \
}
{ \
USB_MUX_COMMON_FIELDS(mux_id, port_id, idx), \
.driver = &tcpci_tcpm_usb_mux_driver, \
- .hpd_update = USB_MUX_CALLBACK_OR_NULL(mux_id, \
- hpd_update), \
+ .hpd_update = \
+ USB_MUX_CALLBACK_OR_NULL(mux_id, hpd_update), \
}
/** This macro will fail if only port or i2c_addr_flags property is present */
#define USB_MUX_CONFIG_TCPCI_TCPM(mux_id, port_id, idx) \
- COND_CODE_1(UTIL_OR(DT_NODE_HAS_PROP(mux_id, port), \
+ COND_CODE_1( \
+ UTIL_OR(DT_NODE_HAS_PROP(mux_id, port), \
DT_NODE_HAS_PROP(mux_id, i2c_addr_flags)), \
- (USB_MUX_CONFIG_TCPCI_TCPM_WITH_I2C(mux_id, port_id,\
- idx)), \
- (USB_MUX_CONFIG_TCPCI_TCPM_WO_I2C(mux_id, port_id, \
- idx)))
+ (USB_MUX_CONFIG_TCPCI_TCPM_WITH_I2C(mux_id, port_id, idx)), \
+ (USB_MUX_CONFIG_TCPCI_TCPM_WO_I2C(mux_id, port_id, idx)))
#endif /* __ZEPHYR_SHIM_TCPCI_USB_MUX_H */
