commit | e9751894000af398d5895b3ee96052f57b80cc44 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sun Feb 07 16:23:49 2016 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Mar 09 14:40:56 2016 +0100 |
tree | 26101d4c1f300b91122edf3eae6c0e17a6be8877 | |
parent | d10b5eb5fce436ba22443ab83eeb36e195dbf772 [diff] |
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>