From: Mark Brown Date: Mon, 23 Jan 2012 10:51:51 +0000 (+0000) Subject: [CPUFREQ] s3c64xx: Fix mis-cherry pick of VDDINT X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7c8fb0411766849a332575673d0cc69ea571f031;p=linux-beck.git [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 Signed-off-by: Dave Jones --- diff --git a/drivers/cpufreq/s3c64xx-cpufreq.c b/drivers/cpufreq/s3c64xx-cpufreq.c index a5e72cb5f53c..6f9490b3c356 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;