diff options
author | Linus Walleij <[email protected]> | 2021-11-25 03:08:40 +0100 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2021-12-26 15:02:05 -0800 |
commit | 209218efd6ac8bebfe85fd2bc3ad64e5c3bad0a8 (patch) | |
tree | 61ecd74d132b12daf7e103af4fc8ce8f332f8367 /net/lapb/lapb_timer.c | |
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 <[email protected]>
Cc: Chris Lesiak <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions