]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29064b805e6326c232152472cbc7a0bd4e7ee7ba
tree495962432180749c67a2845ecdc763df56491ee4
parent94d708d5e8825dc8f7bea368a2a01cb60b81953c
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