[02/17] thermal: cpu_cooling: rearrange globals

Message ID 2ec1e1f373acb4471db3b15d14207c31b73c372f.1489640000.git.viresh.kumar@linaro.org
State Superseded
Headers show
Series
  • Untitled series #752
Related show

Commit Message

Viresh Kumar March 16, 2017, 5:29 a.m.
Just to make it look better.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

---
 drivers/thermal/cpu_cooling.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
2.7.1.410.g6faf27b

Patch

diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index 6fd258d62e47..7ce73eee866f 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -105,10 +105,9 @@  struct cpufreq_cooling_device {
 	struct device *cpu_dev;
 	get_static_t plat_get_static_power;
 };
-static DEFINE_IDA(cpufreq_ida);
 
 static unsigned int cpufreq_dev_count;
-
+static DEFINE_IDA(cpufreq_ida);
 static DEFINE_MUTEX(cooling_list_lock);
 static LIST_HEAD(cpufreq_dev_list);