/* Set up a new emulator and add it to the list */
static int i2c_emul_init(const struct device *dev)
/* Set up a new emulator and add it to the list */
static int i2c_emul_init(const struct device *dev)
{
	struct i2c_emul_data *data = dev->data;
	int rc;
	sys_slist_init(&data->emuls);
	rc = emul_init_for_bus(dev);
	data->config = (I2C_MODE_CONTROLLER | i2c_map_dt_bitrate(data->bitrate));
	return rc;
}