From: Frans Meulenbroeks Date: Mon, 2 Jan 2012 11:03:20 +0000 (+0100) Subject: hwmon: (ltc4261) set data->valid to 0 if error X-Git-Tag: v3.3-rc1~162^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aac9fe9b4697868009e752562e743cc7984809bc;p=pandora-kernel.git hwmon: (ltc4261) set data->valid to 0 if error 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed