aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq_performance.c
diff options
context:
space:
mode:
authorViresh Kumar2013-08-06 22:53:03 +0530
committerRafael J. Wysocki2013-08-07 23:34:09 +0200
commit5ff0a268037d344f86df690ccb994d8bc015d2d9 (patch)
tree63930dc6092b9654d3e5be9b3db52aa29438c8be /drivers/cpufreq/cpufreq_performance.c
parent1133bfa6dcf034639486982629d29472737d5e96 (diff)
cpufreq: Clean up header files included in the core
This patch addresses the following issues in the header files in the cpufreq core: - Include headers in ascending order, so that we don't add same many times by mistake. - <asm/> must be included after <linux/>, so that they override whatever they need to. - Remove unnecessary includes. - Don't include files already included by cpufreq.h or cpufreq_governor.h. [rjw: Changelog] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_performance.c')
-rw-r--r--drivers/cpufreq/cpufreq_performance.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq_performance.c b/drivers/cpufreq/cpufreq_performance.c
index 9fef7d6e4e6a..cf117deb39b1 100644
--- a/drivers/cpufreq/cpufreq_performance.c
+++ b/drivers/cpufreq/cpufreq_performance.c
@@ -12,10 +12,9 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-#include <linux/kernel.h>
-#include <linux/module.h>
#include <linux/cpufreq.h>
#include <linux/init.h>
+#include <linux/module.h>
static int cpufreq_governor_performance(struct cpufreq_policy *policy,
unsigned int event)