diff options
author | Tomasz Figa <t.figa@samsung.com> | 2014-07-04 08:04:22 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-07-18 15:24:59 -0400 |
commit | 56e9e367ee67935d6a26a380ba84527dc9c57e6a (patch) | |
tree | a87a64ec5e8a997d695549b1b3ec950d5e77ad1c | |
parent | 28dc7ef8cd53f965da47688a52f7afddb00979d2 (diff) |
cpufreq: s3c24xx: Remove some dead code
There is no use for the .resume_clocks() callback now and in fact all
the provided functions are empty, so this patch just removes it in
preparation for further patches.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | drivers/cpufreq/s3c2410-cpufreq.c | 2 | ||||
-rw-r--r-- | drivers/cpufreq/s3c2412-cpufreq.c | 3 | ||||
-rw-r--r-- | drivers/cpufreq/s3c2440-cpufreq.c | 3 | ||||
-rw-r--r-- | drivers/cpufreq/s3c24xx-cpufreq.c | 1 |
4 files changed, 0 insertions, 9 deletions
diff --git a/drivers/cpufreq/s3c2410-cpufreq.c b/drivers/cpufreq/s3c2410-cpufreq.c index cfa0dd8723ec..b8e5da8e188b 100644 --- a/drivers/cpufreq/s3c2410-cpufreq.c +++ b/drivers/cpufreq/s3c2410-cpufreq.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <mach/regs-clock.h> | 26 | #include <mach/regs-clock.h> |
27 | 27 | ||
28 | #include <plat/cpu.h> | 28 | #include <plat/cpu.h> |
29 | #include <plat/clock.h> | ||
30 | #include <plat/cpu-freq-core.h> | 29 | #include <plat/cpu-freq-core.h> |
31 | 30 | ||
32 | /* Note, 2410A has an extra mode for 1:4:4 ratio, bit 2 of CLKDIV */ | 31 | /* Note, 2410A has an extra mode for 1:4:4 ratio, bit 2 of CLKDIV */ |
@@ -104,7 +103,6 @@ static struct s3c_cpufreq_info s3c2410_cpufreq_info = { | |||
104 | .calc_iotiming = s3c2410_iotiming_calc, | 103 | .calc_iotiming = s3c2410_iotiming_calc, |
105 | .set_iotiming = s3c2410_iotiming_set, | 104 | .set_iotiming = s3c2410_iotiming_set, |
106 | .get_iotiming = s3c2410_iotiming_get, | 105 | .get_iotiming = s3c2410_iotiming_get, |
107 | .resume_clocks = s3c2410_setup_clocks, | ||
108 | 106 | ||
109 | .set_fvco = s3c2410_set_fvco, | 107 | .set_fvco = s3c2410_set_fvco, |
110 | .set_refresh = s3c2410_cpufreq_setrefresh, | 108 | .set_refresh = s3c2410_cpufreq_setrefresh, |
diff --git a/drivers/cpufreq/s3c2412-cpufreq.c b/drivers/cpufreq/s3c2412-cpufreq.c index 4645b4898996..eb262133fef2 100644 --- a/drivers/cpufreq/s3c2412-cpufreq.c +++ b/drivers/cpufreq/s3c2412-cpufreq.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <mach/s3c2412.h> | 28 | #include <mach/s3c2412.h> |
29 | 29 | ||
30 | #include <plat/cpu.h> | 30 | #include <plat/cpu.h> |
31 | #include <plat/clock.h> | ||
32 | #include <plat/cpu-freq-core.h> | 31 | #include <plat/cpu-freq-core.h> |
33 | 32 | ||
34 | /* our clock resources. */ | 33 | /* our clock resources. */ |
@@ -188,8 +187,6 @@ static struct s3c_cpufreq_info s3c2412_cpufreq_info = { | |||
188 | .set_iotiming = s3c2412_iotiming_set, | 187 | .set_iotiming = s3c2412_iotiming_set, |
189 | .get_iotiming = s3c2412_iotiming_get, | 188 | .get_iotiming = s3c2412_iotiming_get, |
190 | 189 | ||
191 | .resume_clocks = s3c2412_setup_clocks, | ||
192 | |||
193 | .debug_io_show = s3c_cpufreq_debugfs_call(s3c2412_iotiming_debugfs), | 190 | .debug_io_show = s3c_cpufreq_debugfs_call(s3c2412_iotiming_debugfs), |
194 | }; | 191 | }; |
195 | 192 | ||
diff --git a/drivers/cpufreq/s3c2440-cpufreq.c b/drivers/cpufreq/s3c2440-cpufreq.c index f84ed10755b5..0129f5c70a61 100644 --- a/drivers/cpufreq/s3c2440-cpufreq.c +++ b/drivers/cpufreq/s3c2440-cpufreq.c | |||
@@ -29,7 +29,6 @@ | |||
29 | 29 | ||
30 | #include <plat/cpu.h> | 30 | #include <plat/cpu.h> |
31 | #include <plat/cpu-freq-core.h> | 31 | #include <plat/cpu-freq-core.h> |
32 | #include <plat/clock.h> | ||
33 | 32 | ||
34 | static struct clk *xtal; | 33 | static struct clk *xtal; |
35 | static struct clk *fclk; | 34 | static struct clk *fclk; |
@@ -262,8 +261,6 @@ static struct s3c_cpufreq_info s3c2440_cpufreq_info = { | |||
262 | .calc_divs = s3c2440_cpufreq_calcdivs, | 261 | .calc_divs = s3c2440_cpufreq_calcdivs, |
263 | .calc_freqtable = s3c2440_cpufreq_calctable, | 262 | .calc_freqtable = s3c2440_cpufreq_calctable, |
264 | 263 | ||
265 | .resume_clocks = s3c244x_setup_clocks, | ||
266 | |||
267 | .debug_io_show = s3c_cpufreq_debugfs_call(s3c2410_iotiming_debugfs), | 264 | .debug_io_show = s3c_cpufreq_debugfs_call(s3c2410_iotiming_debugfs), |
268 | }; | 265 | }; |
269 | 266 | ||
diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c b/drivers/cpufreq/s3c24xx-cpufreq.c index 227ebf7c1eea..d00f1cee4509 100644 --- a/drivers/cpufreq/s3c24xx-cpufreq.c +++ b/drivers/cpufreq/s3c24xx-cpufreq.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <asm/mach/map.h> | 27 | #include <asm/mach/map.h> |
28 | 28 | ||
29 | #include <plat/cpu.h> | 29 | #include <plat/cpu.h> |
30 | #include <plat/clock.h> | ||
31 | #include <plat/cpu-freq-core.h> | 30 | #include <plat/cpu-freq-core.h> |
32 | 31 | ||
33 | #include <mach/regs-clock.h> | 32 | #include <mach/regs-clock.h> |