forked from Minki/linux
bc4c94994f
Convert the module to be property provider agnostic and allow it to be used on non-OF platforms. The conversion slightly changes the logic behind property reading for the configuration values. Original code allocates just as much memory as needed. Then for each separate 32- or 64-bit value it reads it from the property and converts to a raw one which will be fed to the sensor. In the new code we allocate the amount of memory needed to retrieve all values at once from the property and then convert them as required. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Tested-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20220307203606.87258-3-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> |
||
---|---|---|
.. | ||
hid-sensor-temperature.c | ||
iqs620at-temp.c | ||
Kconfig | ||
ltc2983.c | ||
Makefile | ||
max31856.c | ||
max31865.c | ||
maxim_thermocouple.c | ||
mlx90614.c | ||
mlx90632.c | ||
tmp006.c | ||
tmp007.c | ||
tmp117.c | ||
tsys01.c | ||
tsys02d.c |