aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2017-04-25 15:57:09 +0530
committerEduardo Valentin <edubezval@gmail.com>2017-05-27 17:31:49 -0700
commitfb8ea3082169612933b5cd14f30415e81f926f7b (patch)
treefa4425c1829602d06a7fca1f63660a34c52592ad /drivers/thermal
parentthermal: cpu_cooling: Avoid accessing potentially freed structures (diff)
downloadlinux-dev-fb8ea3082169612933b5cd14f30415e81f926f7b.tar.xz
linux-dev-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')
-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);