summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-12-04 05:11:47 +0100
committerEduardo Valentin <edubezval@gmail.com>2014-12-08 17:08:54 +0100
commit728c03c9592198717fed3e9fbae7260cff300175 (patch)
tree9b0c714f6f02c8545c1bc43113d1a7282e771878 /drivers/thermal
parentthermal: exynos: pass cpu_present_mask to cpufreq_cooling_register() (diff)
downloadlinux-728c03c9592198717fed3e9fbae7260cff300175.tar.xz
linux-728c03c9592198717fed3e9fbae7260cff300175.zip
thermal: cpu_cooling: random comment fixups
s/give/given Acked-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/cpu_cooling.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index f98a763af2f5..6f2d41e7a9e7 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -121,7 +121,7 @@ enum cpufreq_cooling_property {
};
/**
- * get_property - fetch a property of interest for a give cpu.
+ * get_property - fetch a property of interest for a given cpu.
* @cpu: cpu for which the property is required
* @input: query parameter
* @output: query return
@@ -131,6 +131,7 @@ enum cpufreq_cooling_property {
* 1. get maximum cpu cooling states
* 2. translate frequency to cooling state
* 3. translate cooling state to frequency
+ *
* Note that the code may be not in good shape
* but it is written in this way in order to:
* a) reduce duplicate code as most of the code can be shared.
@@ -211,7 +212,7 @@ static int get_property(unsigned int cpu, unsigned long input,
}
/**
- * cpufreq_cooling_get_level - for a give cpu, return the cooling level.
+ * cpufreq_cooling_get_level - for a given cpu, return the cooling level.
* @cpu: cpu for which the level is required
* @freq: the frequency of interest
*