aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-03-10 15:13:05 -0500
committerDave Jones <davej@redhat.com>2011-03-16 17:54:33 -0400
commit7ca64e2d2859e96a325c28678b5fdb5e17a5764b (patch)
tree8988c72fd55317e1c9f6b8da8f1d62f7ec1ecb8c /drivers/cpufreq
parent326c86deaed54ad1b364fcafe5073f563671eb58 (diff)
[CPUFREQ] Remove the pm_message_t argument from driver suspend
None of the existing cpufreq drivers uses the second argument of its .suspend() callback (which isn't useful anyway), so remove it. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 5cb4d09919d6..0f17ad8585d7 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -1371,7 +1371,7 @@ static int cpufreq_suspend(struct sys_device *sysdev, pm_message_t pmsg)
1371 goto out; 1371 goto out;
1372 1372
1373 if (cpufreq_driver->suspend) { 1373 if (cpufreq_driver->suspend) {
1374 ret = cpufreq_driver->suspend(cpu_policy, pmsg); 1374 ret = cpufreq_driver->suspend(cpu_policy);
1375 if (ret) 1375 if (ret)
1376 printk(KERN_ERR "cpufreq: suspend failed in ->suspend " 1376 printk(KERN_ERR "cpufreq: suspend failed in ->suspend "
1377 "step on CPU %u\n", cpu_policy->cpu); 1377 "step on CPU %u\n", cpu_policy->cpu);