diff options
Diffstat (limited to 'drivers/hwmon/ltc4261.c')
-rw-r--r-- | drivers/hwmon/ltc4261.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/ltc4261.c b/drivers/hwmon/ltc4261.c index 4b50601027d3..ce5235560f01 100644 --- a/drivers/hwmon/ltc4261.c +++ b/drivers/hwmon/ltc4261.c | |||
@@ -85,6 +85,7 @@ static struct ltc4261_data *ltc4261_update_device(struct device *dev) | |||
85 | "Failed to read ADC value: error %d\n", | 85 | "Failed to read ADC value: error %d\n", |
86 | val); | 86 | val); |
87 | ret = ERR_PTR(val); | 87 | ret = ERR_PTR(val); |
88 | data->valid = 0; | ||
88 | goto abort; | 89 | goto abort; |
89 | } | 90 | } |
90 | data->regs[i] = val; | 91 | data->regs[i] = val; |