Skip to content

Commit

Permalink
cpufreq: s3c24xx: Remove some dead code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomasz Figa authored and Kukjin Kim committed Jul 18, 2014
1 parent 28dc7ef commit 56e9e36
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions drivers/cpufreq/s3c2410-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <mach/regs-clock.h>

#include <plat/cpu.h>
#include <plat/clock.h>
#include <plat/cpu-freq-core.h>

/* Note, 2410A has an extra mode for 1:4:4 ratio, bit 2 of CLKDIV */
Expand Down Expand Up @@ -104,7 +103,6 @@ static struct s3c_cpufreq_info s3c2410_cpufreq_info = {
.calc_iotiming = s3c2410_iotiming_calc,
.set_iotiming = s3c2410_iotiming_set,
.get_iotiming = s3c2410_iotiming_get,
.resume_clocks = s3c2410_setup_clocks,

.set_fvco = s3c2410_set_fvco,
.set_refresh = s3c2410_cpufreq_setrefresh,
Expand Down
3 changes: 0 additions & 3 deletions drivers/cpufreq/s3c2412-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <mach/s3c2412.h>

#include <plat/cpu.h>
#include <plat/clock.h>
#include <plat/cpu-freq-core.h>

/* our clock resources. */
Expand Down Expand Up @@ -188,8 +187,6 @@ static struct s3c_cpufreq_info s3c2412_cpufreq_info = {
.set_iotiming = s3c2412_iotiming_set,
.get_iotiming = s3c2412_iotiming_get,

.resume_clocks = s3c2412_setup_clocks,

.debug_io_show = s3c_cpufreq_debugfs_call(s3c2412_iotiming_debugfs),
};

Expand Down
3 changes: 0 additions & 3 deletions drivers/cpufreq/s3c2440-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

#include <plat/cpu.h>
#include <plat/cpu-freq-core.h>
#include <plat/clock.h>

static struct clk *xtal;
static struct clk *fclk;
Expand Down Expand Up @@ -262,8 +261,6 @@ static struct s3c_cpufreq_info s3c2440_cpufreq_info = {
.calc_divs = s3c2440_cpufreq_calcdivs,
.calc_freqtable = s3c2440_cpufreq_calctable,

.resume_clocks = s3c244x_setup_clocks,

.debug_io_show = s3c_cpufreq_debugfs_call(s3c2410_iotiming_debugfs),
};

Expand Down
1 change: 0 additions & 1 deletion drivers/cpufreq/s3c24xx-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <asm/mach/map.h>

#include <plat/cpu.h>
#include <plat/clock.h>
#include <plat/cpu-freq-core.h>

#include <mach/regs-clock.h>
Expand Down

0 comments on commit 56e9e36

Please sign in to comment.