summaryrefslogtreecommitdiff
path: root/drivers/hwmon/smm665.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/smm665.c')
-rw-r--r--drivers/hwmon/smm665.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/smm665.c b/drivers/hwmon/smm665.c
index 62906d9c4b86..8c4ed72e5d68 100644
--- a/drivers/hwmon/smm665.c
+++ b/drivers/hwmon/smm665.c
@@ -265,7 +265,7 @@ static struct smm665_data *smm665_update_device(struct device *dev)
data->adc[i] = val;
}
data->last_updated = jiffies;
- data->valid = 1;
+ data->valid = true;
}
abort:
mutex_unlock(&data->update_lock);