aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx/cpu-freq.c
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 /arch/arm/plat-s3c24xx/cpu-freq.c
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 'arch/arm/plat-s3c24xx/cpu-freq.c')
-rw-r--r--arch/arm/plat-s3c24xx/cpu-freq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c24xx/cpu-freq.c b/arch/arm/plat-s3c24xx/cpu-freq.c
index 25a8fc7f512e..eea75ff81d15 100644
--- a/arch/arm/plat-s3c24xx/cpu-freq.c
+++ b/arch/arm/plat-s3c24xx/cpu-freq.c
@@ -433,7 +433,7 @@ static int s3c_cpufreq_verify(struct cpufreq_policy *policy)
433static struct cpufreq_frequency_table suspend_pll; 433static struct cpufreq_frequency_table suspend_pll;
434static unsigned int suspend_freq; 434static unsigned int suspend_freq;
435 435
436static int s3c_cpufreq_suspend(struct cpufreq_policy *policy, pm_message_t pmsg) 436static int s3c_cpufreq_suspend(struct cpufreq_policy *policy)
437{ 437{
438 suspend_pll.frequency = clk_get_rate(_clk_mpll); 438 suspend_pll.frequency = clk_get_rate(_clk_mpll);
439 suspend_pll.index = __raw_readl(S3C2410_MPLLCON); 439 suspend_pll.index = __raw_readl(S3C2410_MPLLCON);