aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2012-09-15 16:42:54 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-09-15 16:42:54 -0400
commit38a991b625ae3898f18149f8fa287338647a4c9f (patch)
tree1c2a2951eeb39c86a066f5c1863c15e360a5658f /include/acpi
parentc59687f8466df36633d937cc298aad465d704990 (diff)
ACPI / processor: remove unused function parameter
The 'device' parameter is not used neither in acpi_processor_power_init and acpi_processor_power_exit. This patch removes it. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/processor.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index db427fa8cf8..1d3c1a68acc 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -324,12 +324,10 @@ extern void acpi_processor_reevaluate_tstate(struct acpi_processor *pr,
324extern const struct file_operations acpi_processor_throttling_fops; 324extern const struct file_operations acpi_processor_throttling_fops;
325extern void acpi_processor_throttling_init(void); 325extern void acpi_processor_throttling_init(void);
326/* in processor_idle.c */ 326/* in processor_idle.c */
327int acpi_processor_power_init(struct acpi_processor *pr, 327int acpi_processor_power_init(struct acpi_processor *pr);
328 struct acpi_device *device); 328int acpi_processor_power_exit(struct acpi_processor *pr);
329int acpi_processor_cst_has_changed(struct acpi_processor *pr); 329int acpi_processor_cst_has_changed(struct acpi_processor *pr);
330int acpi_processor_hotplug(struct acpi_processor *pr); 330int acpi_processor_hotplug(struct acpi_processor *pr);
331int acpi_processor_power_exit(struct acpi_processor *pr,
332 struct acpi_device *device);
333int acpi_processor_suspend(struct device *dev); 331int acpi_processor_suspend(struct device *dev);
334int acpi_processor_resume(struct device *dev); 332int acpi_processor_resume(struct device *dev);
335extern struct cpuidle_driver acpi_idle_driver; 333extern struct cpuidle_driver acpi_idle_driver;