Re: [PATCH v4 0/6] iio: light: vcnl4000: drop enum ID table and use device-managed register

From: Jonathan Cameron

Date: Mon Apr 20 2026 - 08:10:22 EST


On Tue, 14 Apr 2026 15:37:16 +0300
Erikas Bitovtas <xerikasxx@xxxxxxxxx> wrote:

> This patch series drops the enum ID table for device enumeration and
> instead adds pointers to chip ID structs directly. Necessary
> information about the device is then taken from i2c_get_match_data()
> call. This removes the association between enum ID table and struct
> table and allows for easier addition and removal of new devices.
>
> Along with that, an iio_device_register() call is replaced with its
> device-managed counterpart, to ensure that device is unregistered
> automatically.
>
> No functional changes are intended.
>
> Signed-off-by: Erikas Bitovtas <xerikasxx@xxxxxxxxx>
Applied to the testing branch of iio.git which I'll rebase on rc1 once
available and then push out for linux-next to pick up.

Thanks,

Jonathan