2015-05-21 18:18:08

by Shailendra Verma

[permalink] [raw]
Subject: [PATCH] cpufreq:cpufreq - Fix typo in comment.


Signed-off-by: Shailendra Verma <[email protected]>
---
drivers/cpufreq/cpufreq.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 8ae655c..b4c7e0f 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -178,7 +178,7 @@ int cpufreq_generic_init(struct cpufreq_policy *policy,
policy->cpuinfo.transition_latency = transition_latency;

/*
- * The driver only supports the SMP configuartion where all processors
+ * The driver only supports the SMP configuration where all processors
* share the clock and voltage and clock.
*/
cpumask_setall(policy->cpus);
@@ -1891,7 +1891,7 @@ static int __target_index(struct cpufreq_policy *policy,
* Failed after setting to intermediate freq? Driver should have
* reverted back to initial frequency and so should we. Check
* here for intermediate_freq instead of get_intermediate, in
- * case we have't switched to intermediate freq at all.
+ * case we haven't switched to intermediate freq at all.
*/
if (unlikely(retval && intermediate_freq)) {
freqs.old = intermediate_freq;
--
1.7.9.5


2015-05-22 01:06:59

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] cpufreq:cpufreq - Fix typo in comment.

On Thursday, May 21, 2015 11:47:51 PM Shailendra Verma wrote:
>
> Signed-off-by: Shailendra Verma <[email protected]>

Two typos in two comments really. Care to fix the subject?

> ---
> drivers/cpufreq/cpufreq.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
> index 8ae655c..b4c7e0f 100644
> --- a/drivers/cpufreq/cpufreq.c
> +++ b/drivers/cpufreq/cpufreq.c
> @@ -178,7 +178,7 @@ int cpufreq_generic_init(struct cpufreq_policy *policy,
> policy->cpuinfo.transition_latency = transition_latency;
>
> /*
> - * The driver only supports the SMP configuartion where all processors
> + * The driver only supports the SMP configuration where all processors
> * share the clock and voltage and clock.
> */
> cpumask_setall(policy->cpus);
> @@ -1891,7 +1891,7 @@ static int __target_index(struct cpufreq_policy *policy,
> * Failed after setting to intermediate freq? Driver should have
> * reverted back to initial frequency and so should we. Check
> * here for intermediate_freq instead of get_intermediate, in
> - * case we have't switched to intermediate freq at all.
> + * case we haven't switched to intermediate freq at all.
> */
> if (unlikely(retval && intermediate_freq)) {
> freqs.old = intermediate_freq;
>

--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.