Skip to contentSkip to conversation

s3c64xx: Fix mis-cherry pick of VDDINT

PATCH New Mark Brown 1 participant 1 message Feb 29, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 s3c64xx: Fix mis-cherry pick of VDDINT

We don't have any of the other code for VDDINT, including the variable declaration, so don't try to get it as we can't build.

---

This patch (which has been sent a couple of times already) is needed to fix build breakage in 3.3.

 drivers/cpufreq/s3c64xx-cpufreq.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
drivers/cpufreq/s3c64xx-cpufreq.c +0 -7
index a5e72cb..6f9490b 100644
@@ -217,13 +217,6 @@ static int s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy)
 	} else {
 		s3c64xx_cpufreq_config_regulator();
 	}
-
-	vddint = regulator_get(NULL, "vddint");
-	if (IS_ERR(vddint)) {
-		ret = PTR_ERR(vddint);
-		pr_err("Failed to obtain VDDINT: %d\n", ret);
-		vddint = NULL;
-	}
 #endif
 
 	freq = s3c64xx_freq_table;
Signature · 1 line
1.7.9.1