Ahmad Khalifa 13558a2e63 hwmon: (nct6775) Fix IN scaling factors for 6798/6799
Scaling for VTT/VIN5/VIN6 registers were based on prior chips
* Split scaling factors for 6798/6799 and assign at probe()
* Pass them through driver data to sysfs functions

Tested on nct6799 with old/new input/min/max

Fixes: 0599682b826f ("hwmon: (nct6775) Add support for NCT6798D")
Signed-off-by: Ahmad Khalifa <ahmad@khalifa.ws>
Link: https://lore.kernel.org/r/20230719192848.337508-1-ahmad@khalifa.ws
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2023-07-19 12:56:12 -07:00
..
2023-07-03 12:56:23 -07:00
2023-04-27 11:53:57 -07:00
2023-06-08 06:41:19 -07:00
2022-02-27 17:03:19 -08:00
2023-06-08 06:41:19 -07:00