hwmon: (iio_hwmon) Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 26 Aug 2022 17:37:00 +0000 (20:37 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 19 Sep 2022 13:17:05 +0000 (06:17 -0700)
commitb7b568c2525b3a59a49eaf81ad4f283f0c25b5b6
tree6d5742a9912da8533d068a304593e3feed49022b
parent9be5223afc7b0a88ba1d6352eab86ca18528efa3
hwmon: (iio_hwmon) Make use of device properties

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

Include mod_devicetable.h explicitly to replace the dropped of.h
which included mod_devicetable.h indirectly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220826173700.17395-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/iio_hwmon.c