commit | c1ae18d313e24bc7833e1749dd36dba5d47f259c | [log] [tgz] |
---|---|---|
author | Tim Harvey <tharvey@gateworks.com> | Thu Aug 27 10:20:24 2020 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Thu Aug 27 12:47:55 2020 -0700 |
tree | a34979211348cd03989a4c82d5f2a404d177b8d4 | |
parent | cecf7560f00a8419396a2ed0f6e5d245ccb4feac [diff] |
hwmon: (gsc-hwmon) Scale temperature to millidegrees The GSC registers report temperature in decidegrees celcius so we need to scale it to represent the hwmon sysfs API of millidegrees. Cc: stable@vger.kernel.org Fixes: 3bce5377ef66 ("hwmon: Add Gateworks System Controller support") Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://lore.kernel.org/r/1598548824-16898-1-git-send-email-tharvey@gateworks.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>