diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-07-04 08:27:38 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-09-08 21:34:14 -0700 |
commit | 637ab157d4a94145a6c9b89113222b6c80fab54c (patch) | |
tree | 52f89c7dff3443ca50f071ddcadc6e857c910579 /drivers/thermal/int340x_thermal/int340x_thermal_zone.h | |
parent | e8172a9381f33b6a4b16871b9149171e0113bfde (diff) | |
download | linux-637ab157d4a94145a6c9b89113222b6c80fab54c.tar.gz |
hwmon: (lm95241) Use more accurate limits
The lower temperature limit is -128 degrees C. The supported upper limits are 127.875 or 255.875 degrees C. Also, don't fail if a value outside the supported range is provided when setting a temperature limit. Instead, clamp the provided value to the available value range. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/thermal/int340x_thermal/int340x_thermal_zone.h')
0 files changed, 0 insertions, 0 deletions