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

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

 



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.

v2 -> v3:
 - post as patch series
 - make use of the spi_get_device_id(spi)->driver_data
   path to provide the chip info structure if
   of_device_get_match_data() returns NULL.

Wei Yongjun (5):
  iio: adc: ti-ads131e08: Silence no spi_device_id warnings
  iio: accel: sca3300: Silence no spi_device_id warning
  iio: adc: ad9467: Silence no spi_device_id warnings
  iio: adc: ad7192: Silence no spi_device_id warnings
  iio: adc: ad7124: Silence no spi_device_id warnings

 drivers/iio/accel/sca3300.c    | 12 ++++++++++--
 drivers/iio/adc/ad7124.c       | 10 ++++++++++
 drivers/iio/adc/ad7192.c       | 12 ++++++++++++
 drivers/iio/adc/ad9467.c       | 11 +++++++++++
 drivers/iio/adc/ti-ads131e08.c | 11 +++++++++++
 5 files changed, 54 insertions(+), 2 deletions(-)

-- 
2.34.1




[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