hwmon: (tmp401) Reset valid flag when resetting temperature history
authorGuenter Roeck <linux@roeck-us.net>
Sun, 14 Apr 2013 11:39:46 +0000 (04:39 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 21 Apr 2013 15:27:28 +0000 (08:27 -0700)
commit8eb6d90fec24244f80bba018d955413ea6117a34
tree3e6445966e8913bf43406feaf8a8efa5e4e9edbe
parent14f2a6654dd42d60645071de26d17d0bced63a7d
hwmon: (tmp401) Reset valid flag when resetting temperature history

Cached data is no longer valid after resetting the temperature history.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/tmp401.c