hwmon: (k10temp) Rework the temperature offset calculation
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 27 Aug 2021 20:15:25 +0000 (15:15 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 27 Aug 2021 20:52:56 +0000 (13:52 -0700)
commit0e3f52bbd9ebaef5fba1b4c70e4132b9782c7c7e
tree3732150df5cc9f8c8dd072abee73e360787d75d7
parent02a2484cf8d17a2acf3b9b151147bafaa55ad38c
hwmon: (k10temp) Rework the temperature offset calculation

Some of the existing assumptions made do not scale properly
to new silicon in upcoming changes.  This commit should cause
no functional changes to existing silicon.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20210827201527.24454-2-mario.limonciello@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c