提交 6c523c61 编写于 作者: J Jaecheol Lee 提交者: Dave Jones

[CPUFREQ] EXYNOS: Removed useless headers and codes

This patch removes no referencing header files and cleaned up
useless code.
Signed-off-by: NJaecheol Lee <jc.lee@samsung.com>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: NDave Jones <davej@redhat.com>
上级 a125a17f
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/clk.h> #include <linux/clk.h>
...@@ -18,15 +17,10 @@ ...@@ -18,15 +17,10 @@
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <linux/cpufreq.h> #include <linux/cpufreq.h>
#include <linux/suspend.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 <mach/cpufreq.h>
#include <plat/clock.h> #include <plat/cpu.h>
#include <plat/pm.h>
static struct exynos_dvfs_info *exynos_info; static struct exynos_dvfs_info *exynos_info;
......
...@@ -9,25 +9,17 @@ ...@@ -9,25 +9,17 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/types.h> #include <linux/module.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/regulator/consumer.h>
#include <linux/cpufreq.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-clock.h>
#include <mach/regs-mem.h>
#include <mach/cpufreq.h> #include <mach/cpufreq.h>
#include <plat/clock.h>
#include <plat/pm.h>
#define CPUFREQ_LEVEL_END L5 #define CPUFREQ_LEVEL_END L5
static int max_support_idx = L0; static int max_support_idx = L0;
...@@ -38,10 +30,6 @@ static struct clk *moutcore; ...@@ -38,10 +30,6 @@ static struct clk *moutcore;
static struct clk *mout_mpll; static struct clk *mout_mpll;
static struct clk *mout_apll; static struct clk *mout_apll;
static struct regulator *arm_regulator;
static struct cpufreq_freqs freqs;
struct cpufreq_clkdiv { struct cpufreq_clkdiv {
unsigned int index; unsigned int index;
unsigned int clkdiv; unsigned int clkdiv;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册