diff mbox

cpufreq:cpufreq - Fix typo in comment.

Message ID 1432232271-3753-1-git-send-email-shailendra.capricorn@gmail.com (mailing list archive)
State Changes Requested, archived
Headers show

Commit Message

Shailendra Verma May 21, 2015, 6:17 p.m. UTC
Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
---
 drivers/cpufreq/cpufreq.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rafael J. Wysocki May 22, 2015, 1:32 a.m. UTC | #1
On Thursday, May 21, 2015 11:47:51 PM Shailendra Verma wrote:
> 
> Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>

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;
>
diff mbox

Patch

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;