Skip to content

Commit

Permalink
thermal: cpu_cooling: remove checkpatch.pl warning
Browse files Browse the repository at this point in the history
Simple code style fix.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
  • Loading branch information
Eduardo Valentin authored and Zhang Rui committed Apr 27, 2013
1 parent e45a643 commit ef5e212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/thermal/cpu_cooling.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit ef5e212

Please sign in to comment.