]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: conservative: Rename get_freq_target() to get_freq_step()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 14 Nov 2016 07:00:43 +0000 (12:30 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Nov 2016 20:34:52 +0000 (21:34 +0100)
commit7f49f1bd2be60995aaf37572538d1181d1f320ac
tree67f09001ffa101e728a5e5875ef0a4fa9b1c2291
parent355841b5dca1bd8a52ac1ef2061556fb0454158e
cpufreq: conservative: Rename get_freq_target() to get_freq_step()

What's returned from this function is the delta by which the frequency
must be increased or decreased and not the final frequency that should
be selected.

Name it properly to match its purpose. Also update the variables used to
store that value.

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