2020-01-13 10:23:54

by Harry Pan

[permalink] [raw]
Subject: [PATCH] cpufreq: intel_pstate: fix spelling mistake: "Whethet" -> "Whether"

Fix a spelling typo in the comment, no function change.

Signed-off-by: Harry Pan <[email protected]>

---

drivers/cpufreq/intel_pstate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index 8ab31702cf6a..4bd9cb33132c 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -172,7 +172,7 @@ struct vid_data {
/**
* struct global_params - Global parameters, mostly tunable via sysfs.
* @no_turbo: Whether or not to use turbo P-states.
- * @turbo_disabled: Whethet or not turbo P-states are available at all,
+ * @turbo_disabled: Whether or not turbo P-states are available at all,
* based on the MSR_IA32_MISC_ENABLE value and whether or
* not the maximum reported turbo P-state is different from
* the maximum reported non-turbo one.
--
2.24.1


2020-01-13 10:47:52

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: intel_pstate: fix spelling mistake: "Whethet" -> "Whether"

On Mon, Jan 13, 2020 at 11:22 AM Harry Pan <[email protected]> wrote:
>
> Fix a spelling typo in the comment, no function change.
>
> Signed-off-by: Harry Pan <[email protected]>
>
> ---
>
> drivers/cpufreq/intel_pstate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
> index 8ab31702cf6a..4bd9cb33132c 100644
> --- a/drivers/cpufreq/intel_pstate.c
> +++ b/drivers/cpufreq/intel_pstate.c
> @@ -172,7 +172,7 @@ struct vid_data {
> /**
> * struct global_params - Global parameters, mostly tunable via sysfs.
> * @no_turbo: Whether or not to use turbo P-states.
> - * @turbo_disabled: Whethet or not turbo P-states are available at all,
> + * @turbo_disabled: Whether or not turbo P-states are available at all,
> * based on the MSR_IA32_MISC_ENABLE value and whether or
> * not the maximum reported turbo P-state is different from
> * the maximum reported non-turbo one.
> --

Applied as 5.6 material, thanks!

2020-01-14 04:36:30

by Viresh Kumar

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: intel_pstate: fix spelling mistake: "Whethet" -> "Whether"

On 13-01-20, 18:22, Harry Pan wrote:
> Fix a spelling typo in the comment, no function change.
>
> Signed-off-by: Harry Pan <[email protected]>
>
> ---
>
> drivers/cpufreq/intel_pstate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
> index 8ab31702cf6a..4bd9cb33132c 100644
> --- a/drivers/cpufreq/intel_pstate.c
> +++ b/drivers/cpufreq/intel_pstate.c
> @@ -172,7 +172,7 @@ struct vid_data {
> /**
> * struct global_params - Global parameters, mostly tunable via sysfs.
> * @no_turbo: Whether or not to use turbo P-states.
> - * @turbo_disabled: Whethet or not turbo P-states are available at all,
> + * @turbo_disabled: Whether or not turbo P-states are available at all,
> * based on the MSR_IA32_MISC_ENABLE value and whether or
> * not the maximum reported turbo P-state is different from
> * the maximum reported non-turbo one.

Acked-by: Viresh Kumar <[email protected]>

--
viresh