Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e74f7f10 authored by Viresh Kumar's avatar Viresh Kumar Committed by Stephen Boyd
Browse files

cpufreq: schedutil: Pass sg_policy to get_next_freq()



get_next_freq() uses sg_cpu only to get sg_policy, which the callers of
get_next_freq() already have. Pass sg_policy instead of sg_cpu to
get_next_freq(), to make it more efficient.

Change-Id: Iec838c5e3590808bfb4fd54eae62d32b68e3c18b
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Git-commit: 655cb1ebff4b7918fc560502c3297af2d3c7d114
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 55a6d46d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment