projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ACPI / processor: Fix thermal cooling device regression
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
acpi
/
processor_driver.c
diff --git
a/drivers/acpi/processor_driver.c
b/drivers/acpi/processor_driver.c
index f4e02ae93f585fbb8de42c09d4d0fb32d2751887..11154a330f075dc04c0fec99299d6f5000e901be 100644
(file)
--- a/
drivers/acpi/processor_driver.c
+++ b/
drivers/acpi/processor_driver.c
@@
-200,7
+200,8
@@
static int acpi_pss_perf_init(struct acpi_processor *pr,
goto err_remove_sysfs_thermal;
}
- sysfs_remove_link(&pr->cdev->device.kobj, "device");
+ return 0;
+
err_remove_sysfs_thermal:
sysfs_remove_link(&device->dev.kobj, "thermal_cooling");
err_thermal_unregister: