iio: chemical: atlas-ezo-sensor: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 7 Feb 2022 12:42:04 +0000 (14:42 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Feb 2022 18:06:58 +0000 (18:06 +0000)
commit15ea6bc03bd9e6256053d12a5ee88755ac3e21d5
tree36ca93daf347732b2f372196e0980642cf411635
parentb946e9491a048755aa9261e7d9f0d012ba52c740
iio: chemical: atlas-ezo-sensor: Make use of device properties

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

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220207124204.11658-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/atlas-ezo-sensor.c