projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'kvm-ppc-paulus/kvm-ppc-next'
[deliverable/linux.git]
/
drivers
/
thermal
/
devfreq_cooling.c
diff --git
a/drivers/thermal/devfreq_cooling.c
b/drivers/thermal/devfreq_cooling.c
index 01f0015f80dc3f4d03409aff8d4732c1f17e57b6..81631b110e178f3b186746f32c8a8f4c001c0046 100644
(file)
--- a/
drivers/thermal/devfreq_cooling.c
+++ b/
drivers/thermal/devfreq_cooling.c
@@
-312,7
+312,7
@@
static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev,
unsigned long freq;
u32 static_power;
- if (state
< 0 || state
>= dfc->freq_table_size)
+ if (state >= dfc->freq_table_size)
return -EINVAL;
freq = dfc->freq_table[state];
This page took
0.025157 seconds
and
5
git commands to generate.