Re: [PATCH net-next v1 1/1] iio: adc: tsc2046: silent spi_device_id warning

From: Andy Shevchenko
Date: Fri Jul 01 2022 - 16:10:28 EST


On Thu, Jun 30, 2022 at 9:59 AM Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> wrote:
>
> Add spi_device_id to silent following warning:
> SPI driver tsc2046 has no spi_device_id for ti,tsc2046e-adc

...

> +static const struct spi_device_id tsc2046_adc_spi_ids[] = {
> + { "tsc2046e-adc" },
> + { },

No comma needed for terminator lines.

> +};

--
With Best Regards,
Andy Shevchenko