aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorJaecheol Lee <jc.lee@samsung.com>2012-01-07 06:18:39 -0500
committerDave Jones <davej@redhat.com>2012-01-08 23:52:40 -0500
commit6c523c614c13b84a3dc64f7a56d6855b03e6b292 (patch)
treed5ae5f9cee42754bd5810ff27f9245fd53998d97 /drivers/cpufreq
parenta125a17fa61afe2fa4e52b239dd20af8ce90c9f7 (diff)
[CPUFREQ] EXYNOS: Removed useless headers and codes
This patch removes no referencing header files and cleaned up useless code. Signed-off-by: Jaecheol Lee <jc.lee@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/exynos-cpufreq.c8
-rw-r--r--drivers/cpufreq/exynos4210-cpufreq.c14
2 files changed, 2 insertions, 20 deletions
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c
index 24e4dd453fab..5467879ea07d 100644
--- a/drivers/cpufreq/exynos-cpufreq.c
+++ b/drivers/cpufreq/exynos-cpufreq.c
@@ -9,7 +9,6 @@
9 * published by the Free Software Foundation. 9 * published by the Free Software Foundation.
10*/ 10*/
11 11
12#include <linux/types.h>
13#include <linux/kernel.h> 12#include <linux/kernel.h>
14#include <linux/err.h> 13#include <linux/err.h>
15#include <linux/clk.h> 14#include <linux/clk.h>
@@ -18,15 +17,10 @@
18#include <linux/regulator/consumer.h> 17#include <linux/regulator/consumer.h>
19#include <linux/cpufreq.h> 18#include <linux/cpufreq.h>
20#include <linux/suspend.h> 19#include <linux/suspend.h>
21#include <linux/reboot.h>
22 20
23#include <mach/map.h>
24#include <mach/regs-clock.h>
25#include <mach/regs-mem.h>
26#include <mach/cpufreq.h> 21#include <mach/cpufreq.h>
27 22
28#include <plat/clock.h> 23#include <plat/cpu.h>
29#include <plat/pm.h>
30 24
31static struct exynos_dvfs_info *exynos_info; 25static struct exynos_dvfs_info *exynos_info;
32 26
diff --git a/drivers/cpufreq/exynos4210-cpufreq.c b/drivers/cpufreq/exynos4210-cpufreq.c
index 6bc4ada56df1..065da5b702f1 100644
--- a/drivers/cpufreq/exynos4210-cpufreq.c
+++ b/drivers/cpufreq/exynos4210-cpufreq.c
@@ -9,25 +9,17 @@
9 * published by the Free Software Foundation. 9 * published by the Free Software Foundation.
10*/ 10*/
11 11
12#include <linux/types.h> 12#include <linux/module.h>
13#include <linux/kernel.h> 13#include <linux/kernel.h>
14#include <linux/err.h> 14#include <linux/err.h>
15#include <linux/clk.h> 15#include <linux/clk.h>
16#include <linux/io.h> 16#include <linux/io.h>
17#include <linux/slab.h> 17#include <linux/slab.h>
18#include <linux/regulator/consumer.h>
19#include <linux/cpufreq.h> 18#include <linux/cpufreq.h>
20#include <linux/notifier.h>
21#include <linux/suspend.h>
22 19
23#include <mach/map.h>
24#include <mach/regs-clock.h> 20#include <mach/regs-clock.h>
25#include <mach/regs-mem.h>
26#include <mach/cpufreq.h> 21#include <mach/cpufreq.h>
27 22
28#include <plat/clock.h>
29#include <plat/pm.h>
30
31#define CPUFREQ_LEVEL_END L5 23#define CPUFREQ_LEVEL_END L5
32 24
33static int max_support_idx = L0; 25static int max_support_idx = L0;
@@ -38,10 +30,6 @@ static struct clk *moutcore;
38static struct clk *mout_mpll; 30static struct clk *mout_mpll;
39static struct clk *mout_apll; 31static struct clk *mout_apll;
40 32
41static struct regulator *arm_regulator;
42
43static struct cpufreq_freqs freqs;
44
45struct cpufreq_clkdiv { 33struct cpufreq_clkdiv {
46 unsigned int index; 34 unsigned int index;
47 unsigned int clkdiv; 35 unsigned int clkdiv;