Browse Source

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>
Eduardo Valentin 12 years ago
parent
commit
ef5e2124ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/thermal/cpu_cooling.c

+ 1 - 1
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 */