diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-02-07 18:23:49 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-03-09 16:40:56 +0300 |
commit | e9751894000af398d5895b3ee96052f57b80cc44 (patch) | |
tree | 26101d4c1f300b91122edf3eae6c0e17a6be8877 /drivers/cpufreq/cpufreq_ondemand.c | |
parent | d10b5eb5fce436ba22443ab83eeb36e195dbf772 (diff) | |
download | linux-e9751894000af398d5895b3ee96052f57b80cc44.tar.xz |
cpufreq: governor: Simplify cpufreq_governor_limits()
Use the observation that cpufreq_governor_limits() doesn't have to
get to the policy object it wants to manipulate by walking the
reference chain cdbs->policy_dbs->policy, as the final pointer is
actually equal to its argument, and make it access the policy
object directy via its argument.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.c')
0 files changed, 0 insertions, 0 deletions