Searched hist:"4 eb61e1a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/adc/ |
H A D | ti-ads131e08.c | 4eb61e1a Wed Sep 21 11:36:16 CDT 2022 Wei Yongjun <weiyongjun1@huawei.com> iio: adc: ti-ads131e08: Silence no spi_device_id warnings
SPI devices use the spi_device_id for module autoloading even on systems using device tree, after commit 5fa6863ba692 ("spi: Check we have a spi_device_id for each DT compatible"), kernel warns as follows since the spi_device_id is missing:
SPI driver ads131e08 has no spi_device_id for ti,ads131e04 SPI driver ads131e08 has no spi_device_id for ti,ads131e06
Add spi_device_id entries to silence the warnings, and ensure driver module autoloading works.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20220921163620.805879-2-weiyongjun@huaweicloud.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|