summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-22 22:11:16 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-22 22:11:16 +0200
commitb2f8dc4ce6626e25b164e29cf72b70230a1f1711 (patch)
tree3fa8c909d05de2420bd47e4c1bb95b867f1999a1 /drivers/acpi
parentcpufreq: propagate errors returned from __cpufreq_governor() (diff)
downloadlinux-b2f8dc4ce6626e25b164e29cf72b70230a1f1711.tar.xz
linux-b2f8dc4ce6626e25b164e29cf72b70230a1f1711.zip
ACPI / processor: Drop an unused argument of a cleanup routine
acpi_processor_unregister_performance() actually doesn't use its first argument, so drop it and update the callers accordingly. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/processor_perflib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
index cfc8aba72f86..36b6da2918a6 100644
--- a/drivers/acpi/processor_perflib.c
+++ b/drivers/acpi/processor_perflib.c
@@ -784,9 +784,7 @@ acpi_processor_register_performance(struct acpi_processor_performance
EXPORT_SYMBOL(acpi_processor_register_performance);
-void
-acpi_processor_unregister_performance(struct acpi_processor_performance
- *performance, unsigned int cpu)
+void acpi_processor_unregister_performance(unsigned int cpu)
{
struct acpi_processor *pr;