Re: [PATCH v2 1/6] iio: light: vcnl4000: validate device by prod ID instead of table ID
From: Andy Shevchenko
Date: Thu Apr 09 2026 - 05:31:53 EST
On Sun, Apr 05, 2026 at 07:08:38PM +0300, Erikas Bitovtas wrote:
> Add a new field for vcnl4000_chip_spec and check if we have the right
> device by that instead of the index from enum table. This leaves the
> enum table being used only for picking the right vcnl4000_chip_spec,
> allowing us to drop it later on.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
--
With Best Regards,
Andy Shevchenko