/* Initialize UART channel. 
This routine is called to reset the chip in a quiescent state. It is assumed that this function is called only once per UART. */
static int cdc_acm_init(const struct device *dev)
/* Initialize UART channel. 
This routine is called to reset the chip in a quiescent state. It is assumed that this function is called only once per UART. */
static int cdc_acm_init(const struct device *dev)
{
	struct cdc_acm_dev_data_t * const dev_data = dev->data;
	int ret = 0;
	dev_data->common.dev = dev;
	sys_slist_append(&cdc_acm_data_devlist, &dev_data->common.node);
	LOG_DBG("Device dev %p dev_data %p cfg %p added to devlist %p",
		dev, dev_data, dev->config, &cdc_acm_data_devlist);
	k_work_init(&dev_data->cb_work, cdc_acm_irq_callback_work_handler);
	k_work_init_delayable(&dev_data->tx_work, tx_work_handler);
	return ret;
}