Re: [PATCH v2 3/5] iio: adc: ad4130: Add SPI device ID table

From: Andy Shevchenko

Date: Mon Mar 16 2026 - 11:31:51 EST


On Mon, Mar 16, 2026 at 08:45:26AM -0300, Jonathan Santos wrote:
> Add SPI device ID table to enable non-device tree based device binding.
> The id_table provides a fallback matching mechanism when of_match_table
> cannot be used, which is required for proper SPI driver registration.

...

> +static const struct spi_device_id ad4130_id_table[] = {
> + { "ad4130", 0 },

No ', 0' part, please.

> + { }
> +};

--
With Best Regards,
Andy Shevchenko