path: root/arch/powerpc
diff options
authorRafael J. Wysocki <rjw@sisk.pl>2011-03-10 21:13:05 +0100
committerNicolas Pitre <nicolas.pitre@linaro.org>2011-03-27 22:04:20 -0400
commit2e29df8ed731bd869a7c76ec1f950571ee2c2154 (patch)
tree78f5f07f4478f6f8d38d0d532d0daf64979e7e60 /arch/powerpc
parent22c287f176bfe420328ebc791d07a88ce27ace84 (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> (cherry-picked from 7ca64e2)
Diffstat (limited to 'arch/powerpc')
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/cpufreq_32.c b/arch/powerpc/platforms/powermac/cpufreq_32.c
index 415ca6d6b27..04af5f48b4e 100644
--- a/arch/powerpc/platforms/powermac/cpufreq_32.c
+++ b/arch/powerpc/platforms/powermac/cpufreq_32.c
@@ -429,7 +429,7 @@ static u32 read_gpio(struct device_node *np)
return offset;
-static int pmac_cpufreq_suspend(struct cpufreq_policy *policy, pm_message_t pmsg)
+static int pmac_cpufreq_suspend(struct cpufreq_policy *policy)
/* Ok, this could be made a bit smarter, but let's be robust for now. We
* always force a speed change to high speed before sleep, to make sure