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)
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>

No differences found