iio: temperature: max31865: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 13 Apr 2022 18:53:35 +0000 (21:53 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 28 Apr 2022 18:30:19 +0000 (19:30 +0100)
commit615b5e199af1c39b19c8029149c2b0fa5659d028
treec00634858f7ab17ada3c7bc201ff758a9f0710cd
parent06f90dd4922484b0f913415842cadf4bbbfcb383
iio: temperature: max31865: Make use of device properties

Convert the module to be property provider agnostic and allow
it to be used on non-OF platforms.

Add mod_devicetable.h include.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220413185335.21743-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/temperature/max31865.c