diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-17 17:11:55 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-27 09:25:24 +0800 |
commit | 79d264016ac011b74497b553022d2fc45bf9d9f2 (patch) | |
tree | 8337a34155fb77f4fd2f9b8866b56d46163fd063 /drivers/thermal | |
parent | e44dec77be9e032ff9c2f95f17f7df3a55b58f60 (diff) |
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) |