diff options
Diffstat (limited to 'drivers/hwmon/stts751.c')
-rw-r--r-- | drivers/hwmon/stts751.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/hwmon/stts751.c b/drivers/hwmon/stts751.c index 847c99376930..f9e8b2869164 100644 --- a/drivers/hwmon/stts751.c +++ b/drivers/hwmon/stts751.c @@ -72,12 +72,12 @@ static const int stts751_intervals[] = { }; static const struct i2c_device_id stts751_id[] = { - { "stts751", 0 }, + { "stts751" }, { } }; static const struct of_device_id __maybe_unused stts751_of_match[] = { - { .compatible = "stts751" }, + { .compatible = "st,stts751" }, { }, }; MODULE_DEVICE_TABLE(of, stts751_of_match); @@ -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; |