]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/cpufreq/pxa3xx-cpufreq.c
cpufreq: pxa: don't initialize part of policy set by core
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 3 Oct 2013 14:58:57 +0000 (20:28 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Oct 2013 22:50:31 +0000 (00:50 +0200)
commit200ea8e2c28c1cca4f3faf1e15da78539ecaf835
treed7031b653c28a287a2c04bd131b1e5b823234705
parent0bcc9d9a3e680ebf7717f1aa8caeee45048ebae3
cpufreq: pxa: 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: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/pxa2xx-cpufreq.c
drivers/cpufreq/pxa3xx-cpufreq.c