diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwmon/max6650.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hwmon/max6650.c b/drivers/hwmon/max6650.c index e977c2f2d74a..939953240827 100644 --- a/drivers/hwmon/max6650.c +++ b/drivers/hwmon/max6650.c | |||
@@ -801,8 +801,6 @@ static int max6650_probe(struct i2c_client *client, | |||
801 | dev_warn(&client->dev, | 801 | dev_warn(&client->dev, |
802 | "thermal cooling device register failed: %ld\n", | 802 | "thermal cooling device register failed: %ld\n", |
803 | PTR_ERR(data->cooling_dev)); | 803 | PTR_ERR(data->cooling_dev)); |
804 | else | ||
805 | thermal_cdev_update(data->cooling_dev); | ||
806 | #endif | 804 | #endif |
807 | return 0; | 805 | return 0; |
808 | } | 806 | } |