diff options
author | Thomas Renninger <trenn@suse.de> | 2011-11-17 23:37:00 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-01-17 06:25:34 -0500 |
commit | 3333ea7804201918aa241641cf8493a62b8ad527 (patch) | |
tree | 2ec3afcca9cb15396e0a7260b70fc28a711c0b1d /drivers/acpi | |
parent | d640113fe80e45ebd4a5b420b220d3f6bf37f682 (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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index 9d7bc9f6b6c..90719d125e7 100644 --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c @@ -539,6 +539,7 @@ err_thermal_unregister: thermal_cooling_device_unregister(pr->cdev); err_power_exit: acpi_processor_power_exit(pr, device); + sysfs_remove_link(&device->dev.kobj, "sysdev"); err_free_cpumask: free_cpumask_var(pr->throttling.shared_cpu_map); |