summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq_conservative.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-14 02:01:46 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-30 15:34:17 +0300
commita92604b419f47e1c5098632742d8e031f6e8fab1 (patch)
treeac817b44523f5d789c11a0e4f6e3be7ce46ea9d0 /drivers/cpufreq/cpufreq_conservative.c
parent16de72b9f4d07e393bea7b1221898b3be718a296 (diff)
downloadlinux-a92604b419f47e1c5098632742d8e031f6e8fab1.tar.xz
cpufreq: Split cpufreq_governor() into simpler functions
The cpufreq_governor() routine is used by the cpufreq core to invoke the current governor's ->governor() callback with appropriate arguments and do some housekeeping related to that. Unfortunately, the way it mixes different governor events in one code path makes it rather hard to follow the code. For this reason, split cpufreq_governor() into five simpler functions that each will handle just one specific governor event and put all of the code related to the given event into its own function. This change is a prerequisite for a redesign of the cpufreq governor API that will be done subsequently. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq_conservative.c')
0 files changed, 0 insertions, 0 deletions