summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-04-01 23:40:30 +0200
committerGuenter Roeck <linux@roeck-us.net>2022-05-22 11:32:30 -0700
commite0daf1a60ed47828cc3563c5d036692cc7a702e9 (patch)
tree034dedb3057e434a6095a9675c3991d3e78c5ad7 /drivers/hwmon/Kconfig
parentcd705ea857fdd859a9df09e8adda4cb4c906e8a2 (diff)
downloadlinux-stable-e0daf1a60ed47828cc3563c5d036692cc7a702e9.tar.gz
linux-stable-e0daf1a60ed47828cc3563c5d036692cc7a702e9.tar.bz2
linux-stable-e0daf1a60ed47828cc3563c5d036692cc7a702e9.zip
hwmon: (bt1-pvt) use generic polynomial functions
The polynomial calculation function was moved into lib/ to be able to reuse it. Move over to this one. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20220401214032.3738095-3-michael@walle.cc Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 01a73a0f378a..6d11626c0a09 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -418,6 +418,7 @@ config SENSORS_ATXP1
config SENSORS_BT1_PVT
tristate "Baikal-T1 Process, Voltage, Temperature sensor driver"
depends on MIPS_BAIKAL_T1 || COMPILE_TEST
+ select POLYNOMIAL
help
If you say yes here you get support for Baikal-T1 PVT sensor
embedded into the SoC.