2013-04-17 17:17:36

by Eduardo Valentin

[permalink] [raw]
Subject: [PATCH 13/30] thermal: cpu_cooling: remove checkpatch.pl warning

Simple code style fix.

Cc: Zhang Rui <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Eduardo Valentin <[email protected]>
---
drivers/thermal/cpu_cooling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index d046cd5..1ddfb15 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -184,7 +184,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 */
--
1.8.2.1.342.gfa7285d