diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-17 17:12:06 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-27 09:25:51 +0800 |
commit | ef5e2124ec3d54182bd826411d864e0e28fc00d4 (patch) | |
tree | 558c130802be0a784497bb6232e548709b6a8d97 /drivers/thermal | |
parent | e45a6430025811c9ffc8932389adf5912f8ba4fd (diff) | |
download | linux-ef5e2124ec3d54182bd826411d864e0e28fc00d4.tar.gz linux-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>
Diffstat (limited to 'drivers/thermal')
-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, } 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 */ |