summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2012-09-15 22:42:54 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-09-15 22:42:54 +0200
commit38a991b625ae3898f18149f8fa287338647a4c9f (patch)
tree1c2a2951eeb39c86a066f5c1863c15e360a5658f /drivers/acpi/processor_idle.c
parentc59687f8466df36633d937cc298aad465d704990 (diff)
downloadlinux-38a991b625ae3898f18149f8fa287338647a4c9f.tar.gz
linux-38a991b625ae3898f18149f8fa287338647a4c9f.tar.bz2
linux-38a991b625ae3898f18149f8fa287338647a4c9f.zip
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 'drivers/acpi/processor_idle.c')
-rw-r--r--drivers/acpi/processor_idle.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index de896242d144..c46a44a8c860 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -1216,8 +1216,7 @@ int acpi_processor_cst_has_changed(struct acpi_processor *pr)
static int acpi_processor_registered;
-int __cpuinit acpi_processor_power_init(struct acpi_processor *pr,
- struct acpi_device *device)
+int __cpuinit acpi_processor_power_init(struct acpi_processor *pr)
{
acpi_status status = 0;
int retval;
@@ -1281,8 +1280,7 @@ int __cpuinit acpi_processor_power_init(struct acpi_processor *pr,
return 0;
}
-int acpi_processor_power_exit(struct acpi_processor *pr,
- struct acpi_device *device)
+int acpi_processor_power_exit(struct acpi_processor *pr)
{
if (disabled_by_idle_boot_param())
return 0;