iio: dac: ltc2632: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 13 Apr 2022 19:22:03 +0000 (22:22 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 28 Apr 2022 18:34:10 +0000 (19:34 +0100)
commita9d1a34f2a025708b2eaffddc9a338e289e5bb65
treeb500e6ffc00bb332030252a37735ceedd021e255
parent615b5e199af1c39b19c8029149c2b0fa5659d028
iio: dac: ltc2632: 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/20220413192203.46704-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/ltc2632.c