diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-17 13:12:06 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-26 21:25:51 -0400 |
commit | ef5e2124ec3d54182bd826411d864e0e28fc00d4 (patch) | |
tree | 558c130802be0a784497bb6232e548709b6a8d97 | |
parent | e45a6430025811c9ffc8932389adf5912f8ba4fd (diff) |
thermal: cpu_cooling: remove checkpatch.pl warning
Simple code style fix.
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-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 be04bb419fd7..04a952079eca 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c | |||
@@ -181,7 +181,7 @@ static int get_property(unsigned int cpu, unsigned long input, | |||
181 | } | 181 | } |
182 | 182 | ||
183 | if (property == GET_FREQ) | 183 | if (property == GET_FREQ) |
184 | level = descend ? input : (max_level - input -1); | 184 | level = descend ? input : (max_level - input - 1); |
185 | 185 | ||
186 | for (i = 0, j = 0; table[i].frequency != CPUFREQ_TABLE_END; i++) { | 186 | for (i = 0, j = 0; table[i].frequency != CPUFREQ_TABLE_END; i++) { |
187 | /* ignore invalid entry */ | 187 | /* ignore invalid entry */ |