diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-07-04 17:27:38 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-09-09 06:34:14 +0200 |
commit | 637ab157d4a94145a6c9b89113222b6c80fab54c (patch) | |
tree | 52f89c7dff3443ca50f071ddcadc6e857c910579 /COPYING | |
parent | hwmon: (lm95241) Use BIT macro where appropriate (diff) | |
download | linux-637ab157d4a94145a6c9b89113222b6c80fab54c.tar.xz linux-637ab157d4a94145a6c9b89113222b6c80fab54c.zip |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions