diff options
author | Daniel Gomez <dagmcr@gmail.com> | 2019-04-23 23:42:18 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-04-27 14:54:40 +0200 |
commit | 34c2a55b0df4448110f353f21a8a02fe3e0bddfe (patch) | |
tree | dee0ee3193bc7496c4364e2ed34b4c93013335a5 /drivers/iio/accel/kxsd9-spi.c | |
parent | iio: adc: at91: Use dev_get_drvdata() (diff) | |
download | linux-34c2a55b0df4448110f353f21a8a02fe3e0bddfe.tar.xz linux-34c2a55b0df4448110f353f21a8a02fe3e0bddfe.zip |
iio: temperature: maxim_thermocouple: declare missing of table
Add missing <of_device_id> table for SPI driver relying on SPI
device match since compatible is in a DT binding or in a DTS.
Before this patch:
modinfo drivers/iio/temperature/maxim_thermocouple.ko | grep alias
alias: spi:max31855
alias: spi:max6675
After this patch:
modinfo drivers/iio/temperature/maxim_thermocouple.ko | grep alias
alias: spi:max31855
alias: spi:max6675
alias: of:N*T*Cmaxim,max31855C*
alias: of:N*T*Cmaxim,max31855
alias: of:N*T*Cmaxim,max6675C*
alias: of:N*T*Cmaxim,max6675
Reported-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Daniel Gomez <dagmcr@gmail.com>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/kxsd9-spi.c')
0 files changed, 0 insertions, 0 deletions