All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpufreq: s3c64xx: Rename index to driver_data
@ 2013-10-14 18:36 Charles Keepax
  2013-10-21  7:29 ` Viresh Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Keepax @ 2013-10-14 18:36 UTC (permalink / raw)
  To: rjw, viresh.kumar
  Cc: cpufreq, linux-pm, linux-kernel, patches, Charles Keepax

The index field of cpufreq_frequency_table has been renamed to driver
data in this commit:

commit 5070158804b5339c71809f5e673cea1cfacd804d
cpufreq: rename index as driver_data in cpufreq_frequency_table

This patch updates the s3c64xx driver to match.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
 drivers/cpufreq/s3c64xx-cpufreq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/cpufreq/s3c64xx-cpufreq.c b/drivers/cpufreq/s3c64xx-cpufreq.c
index 8a72b0c..15631f9 100644
--- a/drivers/cpufreq/s3c64xx-cpufreq.c
+++ b/drivers/cpufreq/s3c64xx-cpufreq.c
@@ -166,7 +166,7 @@ static void __init s3c64xx_cpufreq_config_regulator(void)
 		if (freq->frequency == CPUFREQ_ENTRY_INVALID)
 			continue;
 
-		dvfs = &s3c64xx_dvfs_table[freq->index];
+		dvfs = &s3c64xx_dvfs_table[freq->driver_data];
 		found = 0;
 
 		for (i = 0; i < count; i++) {
-- 
1.7.2.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] cpufreq: s3c64xx: Rename index to driver_data
  2013-10-14 18:36 [PATCH] cpufreq: s3c64xx: Rename index to driver_data Charles Keepax
@ 2013-10-21  7:29 ` Viresh Kumar
  2013-10-21 22:58   ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2013-10-21  7:29 UTC (permalink / raw)
  To: Charles Keepax
  Cc: Rafael J. Wysocki, cpufreq, linux-pm, Linux Kernel Mailing List, patches

On 15 October 2013 00:06, Charles Keepax
<ckeepax@opensource.wolfsonmicro.com> wrote:
> The index field of cpufreq_frequency_table has been renamed to driver
> data in this commit:
>
> commit 5070158804b5339c71809f5e673cea1cfacd804d
> cpufreq: rename index as driver_data in cpufreq_frequency_table
>
> This patch updates the s3c64xx driver to match.
>
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
>  drivers/cpufreq/s3c64xx-cpufreq.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/cpufreq/s3c64xx-cpufreq.c b/drivers/cpufreq/s3c64xx-cpufreq.c
> index 8a72b0c..15631f9 100644
> --- a/drivers/cpufreq/s3c64xx-cpufreq.c
> +++ b/drivers/cpufreq/s3c64xx-cpufreq.c
> @@ -166,7 +166,7 @@ static void __init s3c64xx_cpufreq_config_regulator(void)
>                 if (freq->frequency == CPUFREQ_ENTRY_INVALID)
>                         continue;
>
> -               dvfs = &s3c64xx_dvfs_table[freq->index];
> +               dvfs = &s3c64xx_dvfs_table[freq->driver_data];
>                 found = 0;
>
>                 for (i = 0; i < count; i++) {

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

@Rafael: Can you please get this in 3.12 as a bug fix?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] cpufreq: s3c64xx: Rename index to driver_data
  2013-10-21  7:29 ` Viresh Kumar
@ 2013-10-21 22:58   ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2013-10-21 22:58 UTC (permalink / raw)
  To: Viresh Kumar
  Cc: Charles Keepax, cpufreq, linux-pm, Linux Kernel Mailing List, patches

On Monday, October 21, 2013 12:59:30 PM Viresh Kumar wrote:
> On 15 October 2013 00:06, Charles Keepax
> <ckeepax@opensource.wolfsonmicro.com> wrote:
> > The index field of cpufreq_frequency_table has been renamed to driver
> > data in this commit:
> >
> > commit 5070158804b5339c71809f5e673cea1cfacd804d
> > cpufreq: rename index as driver_data in cpufreq_frequency_table
> >
> > This patch updates the s3c64xx driver to match.
> >
> > Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> > ---
> >  drivers/cpufreq/s3c64xx-cpufreq.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/cpufreq/s3c64xx-cpufreq.c b/drivers/cpufreq/s3c64xx-cpufreq.c
> > index 8a72b0c..15631f9 100644
> > --- a/drivers/cpufreq/s3c64xx-cpufreq.c
> > +++ b/drivers/cpufreq/s3c64xx-cpufreq.c
> > @@ -166,7 +166,7 @@ static void __init s3c64xx_cpufreq_config_regulator(void)
> >                 if (freq->frequency == CPUFREQ_ENTRY_INVALID)
> >                         continue;
> >
> > -               dvfs = &s3c64xx_dvfs_table[freq->index];
> > +               dvfs = &s3c64xx_dvfs_table[freq->driver_data];
> >                 found = 0;
> >
> >                 for (i = 0; i < count; i++) {
> 
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
> 
> @Rafael: Can you please get this in 3.12 as a bug fix?

It went in already, didn't it?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-21 22:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-14 18:36 [PATCH] cpufreq: s3c64xx: Rename index to driver_data Charles Keepax
2013-10-21  7:29 ` Viresh Kumar
2013-10-21 22:58   ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.