hwmon: (ntc_thermistor) Drop get_ohm()
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Nov 2021 02:08:39 +0000 (03:08 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 26 Dec 2021 23:02:05 +0000 (15:02 -0800)
commit76f240ff9523673106385120bc9af15ada9ca2f8
tree802a1385d206d2d4e44bb18c1803183a1312999d
parent11a24ca7e34d968991a7d437b950d1924396bd81
hwmon: (ntc_thermistor) Drop get_ohm()

Nothing in the kernel (this driver) is using the callback to
read ohms directly. We always read a voltage and convert it
to a resistance. Drop this callback.

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-3-linus.walleij@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ntc_thermistor.c