summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/cpu_cooling.c
diff options
context:
space:
mode:
authorViresh Kumar2017-04-25 12:27:09 +0200
committerEduardo Valentin2017-05-28 02:31:49 +0200
commitfb8ea3082169612933b5cd14f30415e81f926f7b (patch)
treefa4425c1829602d06a7fca1f63660a34c52592ad /drivers/thermal/cpu_cooling.c
parentthermal: cpu_cooling: Avoid accessing potentially freed structures (diff)
downloadkernel-qcow2-linux-fb8ea3082169612933b5cd14f30415e81f926f7b.tar.gz
kernel-qcow2-linux-fb8ea3082169612933b5cd14f30415e81f926f7b.tar.xz
kernel-qcow2-linux-fb8ea3082169612933b5cd14f30415e81f926f7b.zip
thermal: cpu_cooling: rearrange globals
Just to make it look better. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Tested-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/cpu_cooling.c')
-rw-r--r--drivers/thermal/cpu_cooling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index be29489dd247..ce94aafed25d 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -105,8 +105,8 @@ struct cpufreq_cooling_device {
struct device *cpu_dev;
get_static_t plat_get_static_power;
};
-static DEFINE_IDA(cpufreq_ida);
+static DEFINE_IDA(cpufreq_ida);
static DEFINE_MUTEX(cooling_list_lock);
static LIST_HEAD(cpufreq_dev_list);