aboutsummaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-04-17 17:12:06 +0000
committerZhang Rui <rui.zhang@intel.com>2013-04-27 09:25:51 +0800
commitef5e2124ec3d54182bd826411d864e0e28fc00d4 (patch)
tree558c130802be0a784497bb6232e548709b6a8d97 /drivers/thermal
parente45a6430025811c9ffc8932389adf5912f8ba4fd (diff)
downloadvexpress-lsk-ef5e2124ec3d54182bd826411d864e0e28fc00d4.tar.gz
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>
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 be04bb419fd..04a952079ec 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 */