diff options
-rw-r--r-- | drivers/thermal/thermal_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 338a88bf6662..02f57af04e3f 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c | |||
@@ -1107,7 +1107,7 @@ __thermal_cooling_device_register(struct device_node *np, | |||
1107 | INIT_LIST_HEAD(&cdev->thermal_instances); | 1107 | INIT_LIST_HEAD(&cdev->thermal_instances); |
1108 | cdev->np = np; | 1108 | cdev->np = np; |
1109 | cdev->ops = ops; | 1109 | cdev->ops = ops; |
1110 | cdev->updated = true; | 1110 | cdev->updated = false; |
1111 | cdev->device.class = &thermal_class; | 1111 | cdev->device.class = &thermal_class; |
1112 | cdev->devdata = devdata; | 1112 | cdev->devdata = devdata; |
1113 | dev_set_name(&cdev->device, "cooling_device%d", cdev->id); | 1113 | dev_set_name(&cdev->device, "cooling_device%d", cdev->id); |