diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 19f3ea48475e369ec9ba1b39405e5d14da9a2e6f..82389b1781300ccd606916600f839b9544010b9b 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c @@ -1342,7 +1342,7 @@ static int acpi_thermal_add(struct acpi_device *device) result = acpi_thermal_add_fs(device); if (result) - return_VALUE(result); + goto end; init_timer(&tz->timer);