summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-23 10:51:51 +0000
committerDave Jones <davej@redhat.com>2012-02-29 22:24:38 -0500
commit7c8fb0411766849a332575673d0cc69ea571f031 (patch)
treec3b6f486d566fe061a0210a88e0d7664c41c1eb0 /drivers
parent88ebdda6159ffc15699f204c33feb3e431bf9bdc (diff)
downloadlinux-3.10-7c8fb0411766849a332575673d0cc69ea571f031.tar.gz
linux-3.10-7c8fb0411766849a332575673d0cc69ea571f031.tar.bz2
linux-3.10-7c8fb0411766849a332575673d0cc69ea571f031.zip
[CPUFREQ] 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. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpufreq/s3c64xx-cpufreq.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/cpufreq/s3c64xx-cpufreq.c b/drivers/cpufreq/s3c64xx-cpufreq.c
index a5e72cb5f53..6f9490b3c35 100644
--- a/drivers/cpufreq/s3c64xx-cpufreq.c
+++ b/drivers/cpufreq/s3c64xx-cpufreq.c
@@ -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;