summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2020-08-27 10:20:24 -0700
committerGuenter Roeck <linux@roeck-us.net>2020-08-27 12:47:55 -0700
commitc1ae18d313e24bc7833e1749dd36dba5d47f259c (patch)
treea34979211348cd03989a4c82d5f2a404d177b8d4 /lib/mpi/mpiutil.c
parentcecf7560f00a8419396a2ed0f6e5d245ccb4feac (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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions