From: Eduardo Valentin Date: Wed, 17 Apr 2013 17:12:06 +0000 (+0000) Subject: thermal: cpu_cooling: remove checkpatch.pl warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ef5e2124ec3d54182bd826411d864e0e28fc00d4;p=linux-beck.git thermal: cpu_cooling: remove checkpatch.pl warning Simple code style fix. Signed-off-by: Eduardo Valentin Signed-off-by: Zhang Rui --- 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 */