]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm73) Fix lower and upper temperature limits
authorGuenter Roeck <linux@roeck-us.net>
Fri, 11 Jan 2013 05:16:47 +0000 (21:16 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Feb 2013 17:57:57 +0000 (09:57 -0800)
commit1c18af1b6caca1a65c5a2bb6ecffbe0af408e5bc
treef16bbaa5947f88b590f73ff3fb0719610637c475
parent661c1880bb1bc1d098c46b9cbdc2249e3766aeee
hwmon: (lm73) Fix lower and upper temperature limits

While the LM73 is only specified for temperatures from -40 to +150 degrees C,
its power-up minimum and maximum temperature limits are -256 and +255.75
degrees C. For better consistency and to avoid confusion, clamp limits to
the power-up limits and not to -40 / +150 degrees C.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm73.c