Skip to content

Commit

Permalink
cpufreq: governors: remove redundant code
Browse files Browse the repository at this point in the history
Initially ondemand governor was written and then using its code conservative
governor is written. It used a lot of code from ondemand governor, but copy of
code was created instead of using the same routines from both governors. Which
increased code redundancy, which is difficult to manage.

This patch is an attempt to move common part of both the governors to
cpufreq_governor.c file to come over above mentioned issues.

This shouldn't change anything from functionality point of view.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed Nov 14, 2012
1 parent 0676f7f commit 4471a34
Show file tree
Hide file tree
Showing 5 changed files with 832 additions and 873 deletions.
Loading

0 comments on commit 4471a34

Please sign in to comment.