/* Device-specific wrappers around i2c_write_dt and i2c_write_read_dt. These wrappers handle the case where the GT911 did not accept the requested I2C address, and the alternate I2C address is used.  */
static int gt911_i2c_write(const struct device *dev, const uint8_t *buf, uint32_t num_bytes)
/* Device-specific wrappers around i2c_write_dt and i2c_write_read_dt. These wrappers handle the case where the GT911 did not accept the requested I2C address, and the alternate I2C address is used.  */
static int gt911_i2c_write(const struct device *dev, const uint8_t *buf, uint32_t num_bytes)
{
	const struct gt911_config *config = dev->config;
	struct gt911_data *data = dev->data;
	return i2c_write(config->bus.bus, buf, num_bytes, data->actual_address);
}