diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-03-10 21:13:05 +0100 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2011-03-16 17:54:33 -0400 |
commit | 7ca64e2d2859e96a325c28678b5fdb5e17a5764b (patch) | |
tree | 8988c72fd55317e1c9f6b8da8f1d62f7ec1ecb8c /arch/powerpc | |
parent | 326c86deaed54ad1b364fcafe5073f563671eb58 (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 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/powermac/cpufreq_32.c | 2 |
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 415ca6d6b273..04af5f48b4eb 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 |