diff mbox

[05/26] cpu_cooling: random comment fixups

Message ID 79da69f109b055b435f3703e23abf3a6415a40d9.1417167599.git.viresh.kumar@linaro.org (mailing list archive)
State Changes Requested
Delegated to: Eduardo Valentin
Headers show

Commit Message

Viresh Kumar Nov. 28, 2014, 9:43 a.m. UTC
s/give/given

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 drivers/thermal/cpu_cooling.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Eduardo Valentin Dec. 2, 2014, 11:09 p.m. UTC | #1
On Fri, Nov 28, 2014 at 03:13:59PM +0530, Viresh Kumar wrote:
> s/give/given
> 
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

Acked-by: Eduardo Valentin <edubezval@gmail.com>

> ---
>  drivers/thermal/cpu_cooling.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
> index 1ab0018..7c2ba2e 100644
> --- a/drivers/thermal/cpu_cooling.c
> +++ b/drivers/thermal/cpu_cooling.c
> @@ -122,7 +122,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
> @@ -132,6 +132,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.
> @@ -212,7 +213,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
>   *
> -- 
> 2.0.3.693.g996b0fd
>
diff mbox

Patch

diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index 1ab0018..7c2ba2e 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -122,7 +122,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
@@ -132,6 +132,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.
@@ -212,7 +213,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
  *