aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/processor_thermal.c')
-rw-r--r--drivers/acpi/processor_thermal.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c
index e8e652710e65..d1d2e7fb5b30 100644
--- a/drivers/acpi/processor_thermal.c
+++ b/drivers/acpi/processor_thermal.c
@@ -186,18 +186,6 @@ static int cpufreq_set_cur_state(unsigned int cpu, int state)
186 186
187#endif 187#endif
188 188
189int acpi_processor_get_limit_info(struct acpi_processor *pr)
190{
191
192 if (!pr)
193 return -EINVAL;
194
195 if (pr->flags.throttling)
196 pr->flags.limit = 1;
197
198 return 0;
199}
200
201/* thermal coolign device callbacks */ 189/* thermal coolign device callbacks */
202static int acpi_processor_max_state(struct acpi_processor *pr) 190static int acpi_processor_max_state(struct acpi_processor *pr)
203{ 191{