Skip to contentSkip to conversation

cpufreq: s3c64xx: Rename index to driver_data

PATCH In review Charles Keepax 3 participants 3 messages Oct 14, 2013 – Oct 21, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: s3c64xx: Rename index to driver_data

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.

---
 drivers/cpufreq/s3c64xx-cpufreq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/cpufreq/s3c64xx-cpufreq.c +1 -1
index 8a72b0c..15631f9 100644
@@ -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++) {
Signature · 1 line
1.7.2.5
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 18 lines · 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.

---
 drivers/cpufreq/s3c64xx-cpufreq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/cpufreq/s3c64xx-cpufreq.c +0 -0
index 8a72b0c..15631f9 100644

drivers/cpufreq/s3c64xx-cpufreq.c static void __init s3c64xx_cpufreq_config_regulator(void) · line 172

Quoted 8 lines
drivers/cpufreq/s3c64xx-cpufreq.c +1 -1
@@ -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++) {

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

#2 lore raw
Quoted 27 lines · Viresh Kumar
Quoted 25 lines · 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.

---
 drivers/cpufreq/s3c64xx-cpufreq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/cpufreq/s3c64xx-cpufreq.c +1 -1
index 8a72b0c..15631f9 100644
@@ -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;
 
Quoted 5 lines

drivers/cpufreq/s3c64xx-cpufreq.c static void __init s3c64xx_cpufreq_config_regulator(void) · line 172

Quoted 1 line
drivers/cpufreq/s3c64xx-cpufreq.c +0 -0
                for (i = 0; i < count; i++) {

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

It went in already, didn't it?

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.