diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-04-25 12:27:09 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2017-05-28 02:31:49 +0200 |
commit | fb8ea3082169612933b5cd14f30415e81f926f7b (patch) | |
tree | fa4425c1829602d06a7fca1f63660a34c52592ad /drivers/thermal/cpu_cooling.c | |
parent | thermal: cpu_cooling: Avoid accessing potentially freed structures (diff) | |
download | linux-fb8ea3082169612933b5cd14f30415e81f926f7b.tar.xz 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.c | 2 |
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); |