diff options
author | Tim Harvey <[email protected]> | 2023-06-06 08:30:04 -0700 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-06-08 06:35:52 -0700 |
commit | a6d80df47ee2c69db99e4f2f8871aa4db154620b (patch) | |
tree | 0dfb1462ab0b111240cd80fb0e3795965a093fb4 /drivers/fpga/xilinx-selectmap.c | |
parent | 0babf89c9cca7e074d6e59893e462e4886f481cc (diff) |
hwmon: (gsc-hwmon) fix fan pwm temperature scaling
The GSC fan pwm temperature register is in centidegrees celcius but the
Linux hwmon convention is to use milidegrees celcius. Fix the scaling.
Fixes: 3bce5377ef66 ("hwmon: Add Gateworks System Controller support")
Signed-off-by: Tim Harvey <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions