diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-09-15 16:42:54 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-15 16:42:54 -0400 |
commit | 38a991b625ae3898f18149f8fa287338647a4c9f (patch) | |
tree | 1c2a2951eeb39c86a066f5c1863c15e360a5658f /include/acpi | |
parent | c59687f8466df36633d937cc298aad465d704990 (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.h | 6 |
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, | |||
324 | extern const struct file_operations acpi_processor_throttling_fops; | 324 | extern const struct file_operations acpi_processor_throttling_fops; |
325 | extern void acpi_processor_throttling_init(void); | 325 | extern void acpi_processor_throttling_init(void); |
326 | /* in processor_idle.c */ | 326 | /* in processor_idle.c */ |
327 | int acpi_processor_power_init(struct acpi_processor *pr, | 327 | int acpi_processor_power_init(struct acpi_processor *pr); |
328 | struct acpi_device *device); | 328 | int acpi_processor_power_exit(struct acpi_processor *pr); |
329 | int acpi_processor_cst_has_changed(struct acpi_processor *pr); | 329 | int acpi_processor_cst_has_changed(struct acpi_processor *pr); |
330 | int acpi_processor_hotplug(struct acpi_processor *pr); | 330 | int acpi_processor_hotplug(struct acpi_processor *pr); |
331 | int acpi_processor_power_exit(struct acpi_processor *pr, | ||
332 | struct acpi_device *device); | ||
333 | int acpi_processor_suspend(struct device *dev); | 331 | int acpi_processor_suspend(struct device *dev); |
334 | int acpi_processor_resume(struct device *dev); | 332 | int acpi_processor_resume(struct device *dev); |
335 | extern struct cpuidle_driver acpi_idle_driver; | 333 | extern struct cpuidle_driver acpi_idle_driver; |