]> git.karo-electronics.de Git - linux-beck.git/commit
cpufreq: conservative: Use an inline function to evaluate freq_target
authorStratos Karafotis <stratosk@semaphore.gr>
Fri, 22 Mar 2013 08:03:17 +0000 (08:03 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 31 Mar 2013 23:11:36 +0000 (01:11 +0200)
commit987658477216c3d8e56d1cfc8a17d2f930d2a632
treeeee6e5ac143d0d72c4d072660ba73b79a90fdde9
parentcc721c4fdf742387f4e5a061fa8a7ab6fac453bf
cpufreq: conservative: Use an inline function to evaluate freq_target

Use an inline function to evaluate freq_target to avoid duplicate code.

Also, define a macro for the default frequency step.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_conservative.c