Re: [PATCH 0/5 v3] iio: Silence no spi_device_id warnings

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

 



On Wed, Sep 21, 2022 at 7:19 PM Wei Yongjun <weiyongjun@xxxxxxxxxxxxxxx> wrote:
>
> From: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
>
> SPI devices use the spi_device_id for module autoloading even on
> systems using device tree.
>
> Commit 5fa6863ba692 ("spi: Check we have a spi_device_id for each DT
> compatible") added a test to check that every SPI driver has a
> spi_device_id for each DT compatiable string defined by driver
> and warns if the spi_device_id is missing.
>
> This series add spi_device_id entries to silence the warnings, and
> ensure driver module autoloading works.

Nice, but I would like to avoid the unneeded churn in the future and
right away use a new API for that. I will submit a patch soon that you
may attach to your series as a prerequisite.

-- 
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