cpufreq: governor: split cpufreq_governor_dbs()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Jun 2015 11:13:27 +0000 (16:43 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Jun 2015 13:39:07 +0000 (15:39 +0200)
commit714a2d9c8792919090f256c16286ac3cff4cb489
tree495962432180749c67a2845ecdc763df56491ee4
parent8e0484d2b38aeb2bcce0a7b32e6b33d72c11ad85
cpufreq: governor: split cpufreq_governor_dbs()

cpufreq_governor_dbs() is hardly readable, it is just too big and
complicated. Lets make it more readable by splitting out event specific
routines.

Order of statements is changed at few places, but that shouldn't bring
any functional change.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_governor.c