diff mbox series

cpufreq: Fix centrino_setpolicy to centrino_target

Message ID 20190428085417.16156-1-dj0227@163.com (mailing list archive)
State Accepted, archived
Delegated to: Rafael Wysocki
Headers show
Series cpufreq: Fix centrino_setpolicy to centrino_target | expand

Commit Message

Jian Dong April 28, 2019, 8:54 a.m. UTC
From: dongjian <dongjian@yulong.com>

The code is using centrino_target rather than centrino_setpolicy.

Signed-off-by: dongjian <dongjian@yulong.com>
---
 drivers/cpufreq/speedstep-centrino.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Viresh Kumar April 29, 2019, 5:42 a.m. UTC | #1
On 28-04-19, 16:54, dongjian wrote:
> From: dongjian <dongjian@yulong.com>
> 
> The code is using centrino_target rather than centrino_setpolicy.
> 
> Signed-off-by: dongjian <dongjian@yulong.com>
> ---
>  drivers/cpufreq/speedstep-centrino.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/speedstep-centrino.c b/drivers/cpufreq/speedstep-centrino.c
> index 7d4a315..26fab0c 100644
> --- a/drivers/cpufreq/speedstep-centrino.c
> +++ b/drivers/cpufreq/speedstep-centrino.c
> @@ -412,7 +412,7 @@ static int centrino_cpu_exit(struct cpufreq_policy *policy)
>  }
>  
>  /**
> - * centrino_setpolicy - set a new CPUFreq policy
> + * centrino_target - set a new CPUFreq policy
>   * @policy: new policy
>   * @index: index of target frequency
>   *

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Rafael J. Wysocki May 1, 2019, 10:43 a.m. UTC | #2
On Monday, April 29, 2019 7:42:03 AM CEST Viresh Kumar wrote:
> On 28-04-19, 16:54, dongjian wrote:
> > From: dongjian <dongjian@yulong.com>
> > 
> > The code is using centrino_target rather than centrino_setpolicy.
> > 
> > Signed-off-by: dongjian <dongjian@yulong.com>
> > ---
> >  drivers/cpufreq/speedstep-centrino.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/cpufreq/speedstep-centrino.c b/drivers/cpufreq/speedstep-centrino.c
> > index 7d4a315..26fab0c 100644
> > --- a/drivers/cpufreq/speedstep-centrino.c
> > +++ b/drivers/cpufreq/speedstep-centrino.c
> > @@ -412,7 +412,7 @@ static int centrino_cpu_exit(struct cpufreq_policy *policy)
> >  }
> >  
> >  /**
> > - * centrino_setpolicy - set a new CPUFreq policy
> > + * centrino_target - set a new CPUFreq policy
> >   * @policy: new policy
> >   * @index: index of target frequency
> >   *
> 
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

Patch applied, thanks!
diff mbox series

Patch

diff --git a/drivers/cpufreq/speedstep-centrino.c b/drivers/cpufreq/speedstep-centrino.c
index 7d4a315..26fab0c 100644
--- a/drivers/cpufreq/speedstep-centrino.c
+++ b/drivers/cpufreq/speedstep-centrino.c
@@ -412,7 +412,7 @@  static int centrino_cpu_exit(struct cpufreq_policy *policy)
 }
 
 /**
- * centrino_setpolicy - set a new CPUFreq policy
+ * centrino_target - set a new CPUFreq policy
  * @policy: new policy
  * @index: index of target frequency
  *