diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-17 19:11:55 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-27 03:25:24 +0200 |
commit | 79d264016ac011b74497b553022d2fc45bf9d9f2 (patch) | |
tree | 8337a34155fb77f4fd2f9b8866b56d46163fd063 /drivers/thermal | |
parent | thermal: cpu_cooling: remove unused symbols on cpu_cooling.h (diff) | |
download | linux-79d264016ac011b74497b553022d2fc45bf9d9f2.tar.xz linux-79d264016ac011b74497b553022d2fc45bf9d9f2.zip |
thermal: cpu_cooling: remove trailing white spaces
Remove unnecessary white spaces.
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/cpu_cooling.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index a294921be650..4b9be532cb14 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -142,14 +142,13 @@ static int get_property(unsigned int cpu, unsigned long input, int descend = -1; struct cpufreq_frequency_table *table = cpufreq_frequency_get_table(cpu); - + if (!output) return -EINVAL; if (!table) return -EINVAL; - for (i = 0; table[i].frequency != CPUFREQ_TABLE_END; i++) { /* ignore invalid entries */ if (table[i].frequency == CPUFREQ_ENTRY_INVALID) |