ACPI / processor: Fix thermal cooling device regression
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 17 Dec 2015 04:32:23 +0000 (20:32 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Dec 2015 02:41:49 +0000 (03:41 +0100)
commitce360db703c98bd51fffe6f5d04a9e2294950514
treeefc27d65fdfcd64ca4865546699384c411ec7e50
parent4ef7675344d687a0ef5b0d7c0cee12da005870c0
ACPI / processor: Fix thermal cooling device regression

The processor cooling device is no longer present for passive thermal
control.

Commit 239708a3af44 ("ACPI: Split out ACPI PSS from ACPI Processor driver")
moved the processing to a new function acpi_pss_perf_init(), but
missed "return 0" after successful creation.  This causes the error
handling functions to be called, which will delete the previously
created processor cooling device.

Fixes: 239708a3af44 (ACPI: Split out ACPI PSS from ACPI Processor driver)
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: 4.3+ <stable@vger.kernel.org> # 4.3+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_driver.c