[lm-sensors] [PATCH 1/4] drivers/hwmon/ltc4261: set data->valid to 0 if error

Guenter Roeck guenter.roeck at ericsson.com
Mon Jan 2 17:17:46 CET 2012


On Mon, Jan 02, 2012 at 06:03:20AM -0500, Frans Meulenbroeks wrote:
> if there is an error it is better to set data->valid to 0
> so the next call to ltc4261_update_device will always be
> executed
> 
> Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

Makes sense. Applied.

Thanks,
Guenter



More information about the lm-sensors mailing list