summary refs log tree commit diff
path: root/drivers/thermal/int340x_thermal/int340x_thermal_zone.h
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-07-04 08:27:38 -0700
committerGuenter Roeck <linux@roeck-us.net>2016-09-08 21:34:14 -0700
commit637ab157d4a94145a6c9b89113222b6c80fab54c (patch)
tree52f89c7dff3443ca50f071ddcadc6e857c910579 /drivers/thermal/int340x_thermal/int340x_thermal_zone.h
parente8172a9381f33b6a4b16871b9149171e0113bfde (diff)
downloadlinux-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