summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-04-17 21:12:06 +0400
committerZhang Rui <rui.zhang@intel.com>2013-04-27 05:25:51 +0400
commitef5e2124ec3d54182bd826411d864e0e28fc00d4 (patch)
tree558c130802be0a784497bb6232e548709b6a8d97
parente45a6430025811c9ffc8932389adf5912f8ba4fd (diff)
downloadlinux-ef5e2124ec3d54182bd826411d864e0e28fc00d4.tar.xz
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.c2
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,
}
if (property == GET_FREQ)
- level = descend ? input : (max_level - input -1);
+ level = descend ? input : (max_level - input - 1);
for (i = 0, j = 0; table[i].frequency != CPUFREQ_TABLE_END; i++) {
/* ignore invalid entry */