iio: ssp_sensors: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 10 Feb 2022 13:57:24 +0000 (15:57 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Feb 2022 17:51:42 +0000 (17:51 +0000)
commitb946e9491a048755aa9261e7d9f0d012ba52c740
treedf7114af118c50339266fd50123b2efa23630c39
parent261ecd47b4d17c186aa17202f8ee325f380610e0
iio: ssp_sensors: 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/20220210135724.26660-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/common/ssp_sensors/ssp_dev.c