/* Sets the alert function that's called when an interrupt is triggered due to a TCPC alert.  */
static int ucpd_set_alert_handler_cb(const struct device *dev, tcpc_alert_handler_cb_t handler, void *alert_data)
/* Sets the alert function that's called when an interrupt is triggered due to a TCPC alert.  */
static int ucpd_set_alert_handler_cb(const struct device *dev, tcpc_alert_handler_cb_t handler, void *alert_data)
{
	struct tcpc_data *data = dev->data;
	data->alert_info.handler = handler;
	data->alert_info.data = alert_data;
	return 0;
}