[CPUFREQ] EXYNOS: Removed useless headers and codes
authorJaecheol Lee <jc.lee@samsung.com>
Sat, 7 Jan 2012 11:18:39 +0000 (20:18 +0900)
committerDave Jones <davej@redhat.com>
Mon, 9 Jan 2012 04:52:40 +0000 (23:52 -0500)
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>
drivers/cpufreq/exynos-cpufreq.c
drivers/cpufreq/exynos4210-cpufreq.c

index 24e4dd453fab259a957d7a5b0f420bb6fd5ff426..5467879ea07d9dd60582ffdf44ec88f323c2102e 100644 (file)
@@ -9,7 +9,6 @@
  * published by the Free Software Foundation.
 */
 
-#include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/err.h>
 #include <linux/clk.h>
 #include <linux/regulator/consumer.h>
 #include <linux/cpufreq.h>
 #include <linux/suspend.h>
-#include <linux/reboot.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>
+#include <plat/cpu.h>
 
 static struct exynos_dvfs_info *exynos_info;
 
index 6bc4ada56df1dfbf5b14e17e899c7f46e726b477..065da5b702f148c43b122be7784457f4d563a2c2 100644 (file)
@@ -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;