Re: [PATCH] iio: adc: rtq6056: add i2c_device_id support

From: Andy Shevchenko

Date: Mon Apr 20 2026 - 13:58:59 EST


On Mon, Apr 20, 2026 at 08:52:52PM +0800, Kevin Tung wrote:
> Add i2c_device_id table to support legacy I2C instantiation.
> Update probe to use i2c_get_match_data() so device data can be
> retrieved consistently for both OF and legacy I2C instantiation.

Maybe someone finds this useful...
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

--
With Best Regards,
Andy Shevchenko