summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm75.c
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2012-01-02 12:03:20 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-01-05 17:19:32 +0100
commitaac9fe9b4697868009e752562e743cc7984809bc (patch)
treeaab0f3d249389d031e82614d4c443e7551852030 /drivers/hwmon/lm75.c
parenthwmon: (f75375s) Add support for F75387SG/RG (diff)
downloadlinux-aac9fe9b4697868009e752562e743cc7984809bc.tar.xz
linux-aac9fe9b4697868009e752562e743cc7984809bc.zip
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 <fransmeulenbroeks@gmail.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/lm75.c')
0 files changed, 0 insertions, 0 deletions