Commit 728c03c9 authored by Viresh Kumar's avatar Viresh Kumar Committed by Eduardo Valentin

thermal: cpu_cooling: random comment fixups

s/give/given
Acked-by: default avatarEduardo Valentin <edubezval@gmail.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent f3764e6c
...@@ -121,7 +121,7 @@ enum cpufreq_cooling_property { ...@@ -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 * @cpu: cpu for which the property is required
* @input: query parameter * @input: query parameter
* @output: query return * @output: query return
...@@ -131,6 +131,7 @@ enum cpufreq_cooling_property { ...@@ -131,6 +131,7 @@ enum cpufreq_cooling_property {
* 1. get maximum cpu cooling states * 1. get maximum cpu cooling states
* 2. translate frequency to cooling state * 2. translate frequency to cooling state
* 3. translate cooling state to frequency * 3. translate cooling state to frequency
*
* Note that the code may be not in good shape * Note that the code may be not in good shape
* but it is written in this way in order to: * but it is written in this way in order to:
* a) reduce duplicate code as most of the code can be shared. * 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, ...@@ -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 * @cpu: cpu for which the level is required
* @freq: the frequency of interest * @freq: the frequency of interest
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment