]> git.karo-electronics.de Git - linux-beck.git/commit
cpufreq: Simplify userspace governor
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 5 Jun 2013 06:17:38 +0000 (11:47 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Jun 2013 00:01:07 +0000 (02:01 +0200)
commitd1922f02562fe230396400e466e6e38dfeb072f5
tree48af6f97ddb9af49c376cf9b312620721a893833
parent7fb6a53db58c729ff470095371f431b6d66c527b
cpufreq: Simplify userspace governor

Userspace governor has got more code than what it needs for its
functioning, so simplify it.

Portions of code removed are:
 - Extra header files which aren't required anymore (rearrange them
   as well).
 - cpu_{max|min|cur|set}_freq, as they are always the same as
   policy->{max|min|cur}.
 - userspace_cpufreq_notifier_block as we don't need to set
   cpu_cur_freq anymore.
 - cpus_using_userspace_governor as it was for the notifier code.

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