diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-11-25 03:08:40 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-12-26 15:02:05 -0800 |
commit | 209218efd6ac8bebfe85fd2bc3ad64e5c3bad0a8 (patch) | |
tree | 61ecd74d132b12daf7e103af4fc8ce8f332f8367 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 76f240ff9523673106385120bc9af15ada9ca2f8 (diff) |
hwmon: (ntc_thermistor) Drop read_uv() depend on OF and IIO
The only possible assignment of a function to get a voltage to
convert to a resistance is to use the internal function
ntc_adc_iio_read() which is only available when using IIO
and OF.
Bite the bullet and mandate OF and IIO, drop the read_uv()
callback abstraction and some ifdefs.
As no board is using the platform data, all users are using
OF and IIO anyway.
Cc: Peter Rosin <peda@axentia.se>
Cc: Chris Lesiak <chris.lesiak@licor.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20211125020841.3616359-4-linus.walleij@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions