iio: amplifiers: hmc425a: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 3 Feb 2022 12:16:24 +0000 (14:16 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Feb 2022 15:21:20 +0000 (15:21 +0000)
commit201d11c5082a9265ad4cc4b9e7695ac68e8c4bd3
tree753999c29c87e9699c90358ff227d3bbae9a6e44
parent200da7ef7cf0d29e67cb9630f72d91839ded8d0a
iio: amplifiers: hmc425a: 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/20220203121624.75515-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/amplifiers/hmc425a.c