aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpufreq/exynos4210-cpufreq.c
diff options
context:
space:
mode:
authorJaecheol Lee <jc.lee@samsung.com>2012-01-07 20:18:39 +0900
committerDave Jones <davej@redhat.com>2012-01-08 23:52:40 -0500
commit6c523c614c13b84a3dc64f7a56d6855b03e6b292 (patch)
treed5ae5f9cee42754bd5810ff27f9245fd53998d97 /drivers/cpufreq/exynos4210-cpufreq.c
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/exynos4210-cpufreq.c')
-rw-r--r--drivers/cpufreq/exynos4210-cpufreq.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/cpufreq/exynos4210-cpufreq.c b/drivers/cpufreq/exynos4210-cpufreq.c
index 6bc4ada56df..065da5b702f 100644
--- a/drivers/cpufreq/exynos4210-cpufreq.c
+++ b/drivers/cpufreq/exynos4210-cpufreq.c
@@ -9,25 +9,17 @@
* published by the Free Software Foundation.
*/
-#include <linux/types.h>
+#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/slab.h>
-#include <linux/regulator/consumer.h>
#include <linux/cpufreq.h>
-#include <linux/notifier.h>
-#include <linux/suspend.h>
-#include <mach/map.h>
#include <mach/regs-clock.h>
-#include <mach/regs-mem.h>
#include <mach/cpufreq.h>
-#include <plat/clock.h>
-#include <plat/pm.h>
-
#define CPUFREQ_LEVEL_END L5
static int max_support_idx = L0;
@@ -38,10 +30,6 @@ static struct clk *moutcore;
static struct clk *mout_mpll;
static struct clk *mout_apll;
-static struct regulator *arm_regulator;
-
-static struct cpufreq_freqs freqs;
-
struct cpufreq_clkdiv {
unsigned int index;
unsigned int clkdiv;