]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/acpi/thermal.c
Pull trivial2 into release branch
[karo-tx-linux.git] / drivers / acpi / thermal.c
index a29af58cb4cd8771cc2d4a42b487db263f6e0541..f003763de7bbb684ffa9b59f08d89975f2b9ada2 100644 (file)
@@ -1343,7 +1343,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);