]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: move some initialization stuff to cpufreq_policy_alloc()
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 2 Jan 2015 07:04:38 +0000 (12:34 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 21:49:35 +0000 (22:49 +0100)
commit1312179e832fd92c3bdc47f7fd1785120ab596fb
treebd45c80aae6587d51842e8b8f838d88f5a392722
parent2b54c2de4b848d9fe49d75b4bcddadcb80a8d2a0
cpufreq: move some initialization stuff to cpufreq_policy_alloc()

We need to initialize completion and work only on policy allocation and not
really on the policy restore side and so we better move this piece of code to
cpufreq_policy_alloc().

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c