]> 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)
commitcf13a621477bdf5c9c47a4c0a8d8e0b92a992445
treef16bbaa5947f88b590f73ff3fb0719610637c475
parent9b1598678bfb1c402ee1b81b47d0a48dc703195a
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