Commit 56e9e367 authored by Tomasz Figa's avatar Tomasz Figa Committed by Kukjin Kim

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 28dc7ef8
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
#include <plat/cpu.h> #include <plat/cpu.h>
#include <plat/clock.h>
#include <plat/cpu-freq-core.h> #include <plat/cpu-freq-core.h>
/* Note, 2410A has an extra mode for 1:4:4 ratio, bit 2 of CLKDIV */ /* 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,7 +103,6 @@ static struct s3c_cpufreq_info s3c2410_cpufreq_info = {
.calc_iotiming = s3c2410_iotiming_calc, .calc_iotiming = s3c2410_iotiming_calc,
.set_iotiming = s3c2410_iotiming_set, .set_iotiming = s3c2410_iotiming_set,
.get_iotiming = s3c2410_iotiming_get, .get_iotiming = s3c2410_iotiming_get,
.resume_clocks = s3c2410_setup_clocks,
.set_fvco = s3c2410_set_fvco, .set_fvco = s3c2410_set_fvco,
.set_refresh = s3c2410_cpufreq_setrefresh, .set_refresh = s3c2410_cpufreq_setrefresh,
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <mach/s3c2412.h> #include <mach/s3c2412.h>
#include <plat/cpu.h> #include <plat/cpu.h>
#include <plat/clock.h>
#include <plat/cpu-freq-core.h> #include <plat/cpu-freq-core.h>
/* our clock resources. */ /* our clock resources. */
...@@ -188,8 +187,6 @@ static struct s3c_cpufreq_info s3c2412_cpufreq_info = { ...@@ -188,8 +187,6 @@ static struct s3c_cpufreq_info s3c2412_cpufreq_info = {
.set_iotiming = s3c2412_iotiming_set, .set_iotiming = s3c2412_iotiming_set,
.get_iotiming = s3c2412_iotiming_get, .get_iotiming = s3c2412_iotiming_get,
.resume_clocks = s3c2412_setup_clocks,
.debug_io_show = s3c_cpufreq_debugfs_call(s3c2412_iotiming_debugfs), .debug_io_show = s3c_cpufreq_debugfs_call(s3c2412_iotiming_debugfs),
}; };
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include <plat/cpu.h> #include <plat/cpu.h>
#include <plat/cpu-freq-core.h> #include <plat/cpu-freq-core.h>
#include <plat/clock.h>
static struct clk *xtal; static struct clk *xtal;
static struct clk *fclk; static struct clk *fclk;
...@@ -262,8 +261,6 @@ static struct s3c_cpufreq_info s3c2440_cpufreq_info = { ...@@ -262,8 +261,6 @@ static struct s3c_cpufreq_info s3c2440_cpufreq_info = {
.calc_divs = s3c2440_cpufreq_calcdivs, .calc_divs = s3c2440_cpufreq_calcdivs,
.calc_freqtable = s3c2440_cpufreq_calctable, .calc_freqtable = s3c2440_cpufreq_calctable,
.resume_clocks = s3c244x_setup_clocks,
.debug_io_show = s3c_cpufreq_debugfs_call(s3c2410_iotiming_debugfs), .debug_io_show = s3c_cpufreq_debugfs_call(s3c2410_iotiming_debugfs),
}; };
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <plat/cpu.h> #include <plat/cpu.h>
#include <plat/clock.h>
#include <plat/cpu-freq-core.h> #include <plat/cpu-freq-core.h>
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment