summaryrefslogtreecommitdiff
path: root/drivers/hwmon/stts751.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/stts751.c')
-rw-r--r--drivers/hwmon/stts751.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hwmon/stts751.c b/drivers/hwmon/stts751.c
index 847c99376930..e7632081a1d1 100644
--- a/drivers/hwmon/stts751.c
+++ b/drivers/hwmon/stts751.c
@@ -72,7 +72,7 @@ static const int stts751_intervals[] = {
};
static const struct i2c_device_id stts751_id[] = {
- { "stts751", 0 },
+ { "stts751" },
{ }
};
@@ -91,7 +91,6 @@ struct stts751_priv {
int event_max, event_min;
int therm;
int hyst;
- bool smbus_timeout;
int temp;
unsigned long last_update, last_alert_update;
u8 config;