diff options
Diffstat (limited to 'drivers/cpufreq/s3c24xx-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/s3c24xx-cpufreq.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c b/drivers/cpufreq/s3c24xx-cpufreq.c index d00f1cee4509..733aa5153e74 100644 --- a/drivers/cpufreq/s3c24xx-cpufreq.c +++ b/drivers/cpufreq/s3c24xx-cpufreq.c | |||
@@ -144,11 +144,6 @@ static void s3c_cpufreq_setfvco(struct s3c_cpufreq_config *cfg) | |||
144 | (cfg->info->set_fvco)(cfg); | 144 | (cfg->info->set_fvco)(cfg); |
145 | } | 145 | } |
146 | 146 | ||
147 | static inline void s3c_cpufreq_resume_clocks(void) | ||
148 | { | ||
149 | cpu_cur.info->resume_clocks(); | ||
150 | } | ||
151 | |||
152 | static inline void s3c_cpufreq_updateclk(struct clk *clk, | 147 | static inline void s3c_cpufreq_updateclk(struct clk *clk, |
153 | unsigned int freq) | 148 | unsigned int freq) |
154 | { | 149 | { |
@@ -417,9 +412,6 @@ static int s3c_cpufreq_resume(struct cpufreq_policy *policy) | |||
417 | 412 | ||
418 | last_target = ~0; /* invalidate last_target setting */ | 413 | last_target = ~0; /* invalidate last_target setting */ |
419 | 414 | ||
420 | /* first, find out what speed we resumed at. */ | ||
421 | s3c_cpufreq_resume_clocks(); | ||
422 | |||
423 | /* whilst we will be called later on, we try and re-set the | 415 | /* whilst we will be called later on, we try and re-set the |
424 | * cpu frequencies as soon as possible so that we do not end | 416 | * cpu frequencies as soon as possible so that we do not end |
425 | * up resuming devices and then immediately having to re-set | 417 | * up resuming devices and then immediately having to re-set |
@@ -454,7 +446,7 @@ static struct cpufreq_driver s3c24xx_driver = { | |||
454 | }; | 446 | }; |
455 | 447 | ||
456 | 448 | ||
457 | int __init s3c_cpufreq_register(struct s3c_cpufreq_info *info) | 449 | int s3c_cpufreq_register(struct s3c_cpufreq_info *info) |
458 | { | 450 | { |
459 | if (!info || !info->name) { | 451 | if (!info || !info->name) { |
460 | printk(KERN_ERR "%s: failed to pass valid information\n", | 452 | printk(KERN_ERR "%s: failed to pass valid information\n", |