aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2011-11-17 17:37:00 -0500
committerLen Brown <len.brown@intel.com>2012-01-17 06:25:34 -0500
commit3333ea7804201918aa241641cf8493a62b8ad527 (patch)
tree2ec3afcca9cb15396e0a7260b70fc28a711c0b1d
parentd640113fe80e45ebd4a5b420b220d3f6bf37f682 (diff)
ACPI processor: Fix error path, also remove sysdev link
Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/acpi/processor_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c
index 9d7bc9f6b6cc..90719d125e74 100644
--- a/drivers/acpi/processor_driver.c
+++ b/drivers/acpi/processor_driver.c
@@ -539,6 +539,7 @@ err_thermal_unregister:
539 thermal_cooling_device_unregister(pr->cdev); 539 thermal_cooling_device_unregister(pr->cdev);
540err_power_exit: 540err_power_exit:
541 acpi_processor_power_exit(pr, device); 541 acpi_processor_power_exit(pr, device);
542 sysfs_remove_link(&device->dev.kobj, "sysdev");
542err_free_cpumask: 543err_free_cpumask:
543 free_cpumask_var(pr->throttling.shared_cpu_map); 544 free_cpumask_var(pr->throttling.shared_cpu_map);
544 545