Message ID | 1422910697-5920-13-git-send-email-edubezval@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/cpufreq/exynos4x12-cpufreq.c b/drivers/cpufreq/exynos4x12-cpufreq.c index d12087b..5ea5dad 100644 --- a/drivers/cpufreq/exynos4x12-cpufreq.c +++ b/drivers/cpufreq/exynos4x12-cpufreq.c @@ -25,7 +25,6 @@ static struct clk *cpu_clk; static struct clk *moutcore; static struct clk *mout_mpll; static struct clk *mout_apll; -static struct exynos_dvfs_info *cpufreq; static unsigned int exynos4x12_volt_table[] = { 1350000, 1287500, 1250000, 1187500, 1137500, 1087500, 1037500, @@ -223,7 +222,6 @@ int exynos4x12_cpufreq_init(struct exynos_dvfs_info *info) info->freq_table = exynos4x12_freq_table; info->set_freq = exynos4x12_set_frequency; - cpufreq = info; of_node_put(np); return 0;
Now that the set_freq call back receives the intended data struct, the global cpufreq variable may be removed. Signed-off-by: Eduardo Valentin <edubezval@gmail.com> --- drivers/cpufreq/exynos4x12-cpufreq.c | 2 -- 1 file changed, 2 deletions(-)