Re: [PATCH] iio: adc: ti-ads131e08: Silent no spi_device_id warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 19, 2022 at 5:43 PM Wei Yongjun <weiyongjun@xxxxxxxxxxxxxxx> wrote:
>
> From: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
>
> Add spi_device_id entries to silent following SPI warnings:
>
> SPI driver ads131e08 has no spi_device_id for ti,ads131e04
> SPI driver ads131e08 has no spi_device_id for ti,ads131e06

...

> +static const struct spi_device_id ads131e08_ids[] = {
> +       { "ads131e04", (kernel_ulong_t)&ads131e08_info_tbl[ads131e04] },
> +       { "ads131e06", (kernel_ulong_t)&ads131e08_info_tbl[ads131e06] },
> +       { "ads131e08", (kernel_ulong_t)&ads131e08_info_tbl[ads131e08] },
> +       { },

Please, no comma for the terminator entry.

> +};

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux