/* Set the Power and Data role used when sending goodCRC messages.  */
static int ucpd_set_roles(const struct device *dev, enum tc_power_role power_role, enum tc_data_role data_role)
/* Set the Power and Data role used when sending goodCRC messages.  */
static int ucpd_set_roles(const struct device *dev, enum tc_power_role power_role, enum tc_data_role data_role)
{
	struct tcpc_data *data = dev->data;
	data->msg_header.pr = power_role;
	data->msg_header.dr = data_role;
	return 0;
}