iio: temperature: ltc2983: make use of spi_get_device_match_data()
authorNuno Sa <nuno.sa@analog.com>
Thu, 22 Feb 2024 12:55:52 +0000 (13:55 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 28 Feb 2024 19:26:36 +0000 (19:26 +0000)
commit3bdb96c9d503d478350869cffcfd1872a57550db
tree5534cbd2441cb819ea3305a560318cdb721e2a0a
parentdf621530462c681641425cfb416e411ff04b474a
iio: temperature: ltc2983: make use of spi_get_device_match_data()

Use spi_get_device_match_data() as it simplifies the code. No functional
change intended...

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240222-ltc2983-misc-improv-v1-1-cf7d4457e98c@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/temperature/ltc2983.c