]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: sa11x0: don't initialize part of policy set by core
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 3 Oct 2013 14:59:00 +0000 (20:29 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Oct 2013 22:50:32 +0000 (00:50 +0200)
commitacfba8fce822779126db24b03dfd5d96fb7435ef
tree724e9c0697672ab4d76b2d038ff4a4d5d22d7578
parentd315e9c6911637b28fc4515cf4d8ec4c283b4b53
cpufreq: sa11x0: 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().

Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/sa1100-cpufreq.c
drivers/cpufreq/sa1110-cpufreq.c