]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cpufreq: kirkwood: don't initialize part of policy set by core
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 3 Oct 2013 14:58:47 +0000 (20:28 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Oct 2013 22:50:30 +0000 (00:50 +0200)
commit1cdf547790db07db200516ebd0d427e20eb37f69
treebad7f39f35e4e569ff23f50978eefbb51a0622bc
parentab537016e86467bd2b9a5d091e24ca563d0d7dc6
cpufreq: kirkwood: don't initialize part of policy set by core

Many common initializations of struct policy are moved to core now and hence
this driver doesn't need to do it. This patch removes such code.

Most recent of those changes is to call ->get() in the core after calling
->init().

Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/kirkwood-cpufreq.c