diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-09-15 20:42:54 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-15 20:42:54 (GMT) |
commit | 38a991b625ae3898f18149f8fa287338647a4c9f (patch) | |
tree | 1c2a2951eeb39c86a066f5c1863c15e360a5658f /include/acpi/processor.h | |
parent | c59687f8466df36633d937cc298aad465d704990 (diff) | |
download | linux-38a991b625ae3898f18149f8fa287338647a4c9f.tar.xz |
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/processor.h')
-rw-r--r-- | include/acpi/processor.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index db427fa..1d3c1a6 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, extern const struct file_operations acpi_processor_throttling_fops; extern void acpi_processor_throttling_init(void); /* in processor_idle.c */ -int acpi_processor_power_init(struct acpi_processor *pr, - struct acpi_device *device); +int acpi_processor_power_init(struct acpi_processor *pr); +int acpi_processor_power_exit(struct acpi_processor *pr); int acpi_processor_cst_has_changed(struct acpi_processor *pr); int acpi_processor_hotplug(struct acpi_processor *pr); -int acpi_processor_power_exit(struct acpi_processor *pr, - struct acpi_device *device); int acpi_processor_suspend(struct device *dev); int acpi_processor_resume(struct device *dev); extern struct cpuidle_driver acpi_idle_driver; |