projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45a643
)
thermal: cpu_cooling: remove checkpatch.pl warning
author
Eduardo Valentin
<eduardo.valentin@ti.com>
Wed, 17 Apr 2013 17:12:06 +0000
(17:12 +0000)
committer
Zhang Rui
<rui.zhang@intel.com>
Sat, 27 Apr 2013 01:25:51 +0000
(09:25 +0800)
Simple code style fix.
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/cpu_cooling.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/cpu_cooling.c
b/drivers/thermal/cpu_cooling.c
index be04bb419fd7dd2b6c782a126f97e4950a052385..04a952079eca2d587317116543f076e7a67a84af 100644
(file)
--- 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 */