hwmon: (bt1-pvt) use generic polynomial functions
authorMichael Walle <michael@walle.cc>
Fri, 1 Apr 2022 21:40:30 +0000 (23:40 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 May 2022 18:32:30 +0000 (11:32 -0700)
commite0daf1a60ed47828cc3563c5d036692cc7a702e9
tree034dedb3057e434a6095a9675c3991d3e78c5ad7
parentcd705ea857fdd859a9df09e8adda4cb4c906e8a2
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>
drivers/hwmon/Kconfig
drivers/hwmon/bt1-pvt.c