diff options
-rw-r--r-- | drivers/acpi/thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 19f3ea48475..82389b17813 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c | |||
@@ -1342,7 +1342,7 @@ static int acpi_thermal_add(struct acpi_device *device) | |||
1342 | 1342 | ||
1343 | result = acpi_thermal_add_fs(device); | 1343 | result = acpi_thermal_add_fs(device); |
1344 | if (result) | 1344 | if (result) |
1345 | return_VALUE(result); | 1345 | goto end; |
1346 | 1346 | ||
1347 | init_timer(&tz->timer); | 1347 | init_timer(&tz->timer); |
1348 | 1348 | ||