[PATCH 2/3] cpufreq: s3c: remove last use of resume_clocks callback

2015-01-28 Thread Arnd Bergmann
Commit 32726d2d550 (ARM: SAMSUNG: Remove legacy clock code)
already removed the callback pointer, but there was one remaining
user:

drivers/cpufreq/s3c24xx-cpufreq.c: In function 's3c_cpufreq_resume_clocks':
drivers/cpufreq/s3c24xx-cpufreq.c:149:14: error: 'struct s3c_cpufreq_info' has 
no member named 'resume_clocks'
  cpu_cur.info-resume_clocks();
  ^

Signed-off-by: Arnd Bergmann a...@arndb.de
Fixes: 32726d2d550 (ARM: SAMSUNG: Remove legacy clock code)
Cc: sta...@vger.kernel.org # v3.17+
---
 drivers/cpufreq/s3c24xx-cpufreq.c | 8 
 1 file changed, 8 deletions(-)

diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c 
b/drivers/cpufreq/s3c24xx-cpufreq.c
index bd340a1ca87d..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)
(cfg-info-set_fvco)(cfg);
 }
 
-static inline void s3c_cpufreq_resume_clocks(void)
-{
-   cpu_cur.info-resume_clocks();
-}
-
 static inline void s3c_cpufreq_updateclk(struct clk *clk,
 unsigned int freq)
 {
@@ -417,9 +412,6 @@ static int s3c_cpufreq_resume(struct cpufreq_policy *policy)
 
last_target = ~0;   /* invalidate last_target setting */
 
-   /* first, find out what speed we resumed at. */
-   s3c_cpufreq_resume_clocks();
-
/* whilst we will be called later on, we try and re-set the
 * cpu frequencies as soon as possible so that we do not end
 * up resuming devices and then immediately having to re-set
-- 
2.1.0.rc2

--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2/3] cpufreq: s3c: remove last use of resume_clocks callback

2015-01-28 Thread Viresh Kumar
On 28 January 2015 at 18:46, Arnd Bergmann a...@arndb.de wrote:
 Commit 32726d2d550 (ARM: SAMSUNG: Remove legacy clock code)
 already removed the callback pointer, but there was one remaining
 user:

 drivers/cpufreq/s3c24xx-cpufreq.c: In function 's3c_cpufreq_resume_clocks':
 drivers/cpufreq/s3c24xx-cpufreq.c:149:14: error: 'struct s3c_cpufreq_info' 
 has no member named 'resume_clocks'
   cpu_cur.info-resume_clocks();
   ^

 Signed-off-by: Arnd Bergmann a...@arndb.de
 Fixes: 32726d2d550 (ARM: SAMSUNG: Remove legacy clock code)
 Cc: sta...@vger.kernel.org # v3.17+
 ---
  drivers/cpufreq/s3c24xx-cpufreq.c | 8 
  1 file changed, 8 deletions(-)

 diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c 
 b/drivers/cpufreq/s3c24xx-cpufreq.c
 index bd340a1ca87d..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)
 (cfg-info-set_fvco)(cfg);
  }

 -static inline void s3c_cpufreq_resume_clocks(void)
 -{
 -   cpu_cur.info-resume_clocks();
 -}
 -
  static inline void s3c_cpufreq_updateclk(struct clk *clk,
  unsigned int freq)
  {
 @@ -417,9 +412,6 @@ static int s3c_cpufreq_resume(struct cpufreq_policy 
 *policy)

 last_target = ~0;   /* invalidate last_target setting */

 -   /* first, find out what speed we resumed at. */
 -   s3c_cpufreq_resume_clocks();
 -
 /* whilst we will be called later on, we try and re-set the
  * cpu frequencies as soon as possible so that we do not end
  * up resuming devices and then immediately having to re-set

Acked-by: Viresh Kumar viresh.ku...@linaro.org
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html