Re: [PATCH v2 1/6] iio: accel: adis16201: add SPI device ID table

From: Andy Shevchenko

Date: Mon Sep 14 2026 - 04:25:11 EST


On Sun, Sep 13, 2026 at 01:53:02PM +0500, Shehryar Ahmad wrote:
> Add spi_device_id table for ADIS16201. Replace MODULE_ALIAS()
> with MODULE_DEVICE_TABLE() which automatically generates the same
> module alias.

> +static const struct spi_device_id adis16201_ids[] = {
> + { .name = "adis16201", 0 },
> + { },

Learn the style what we use (hint: check last max half a year old new code
in IIO).

> +};
> +

This blank line is also the subject of the common style.

> +MODULE_DEVICE_TABLE(spi, adis16201_ids);

--
With Best Regards,
Andy Shevchenko