]> git.baikalelectronics.ru Git - kernel.git/commit
iio: temperature: max31856: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 13 Apr 2022 18:50:44 +0000 (21:50 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 28 Apr 2022 18:22:55 +0000 (19:22 +0100)
commit51b4f4359523e870986c6d7ca0648e3c5d7109f2
treec7982a3aa837dcc6624a9ffdaef56fb46ecb46e5
parent2e3ea85eb9ba87c542c4f82428abcc90d37fe058
iio: temperature: max31856: Make use of device properties

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

Add missing mod_devicetable.h include.

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