commit | d8d3b4711297e101bbad826474013edbe342c333 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Sun Aug 04 01:20:07 2013 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Aug 07 23:02:50 2013 +0200 |
tree | af0786e2884a0d31b9c0506ed8d01ee1ccc44414 | |
parent | 10659ab7b50e963429f1a681882404ca37aa584c [diff] |
cpufreq: Pass policy to cpufreq_add_policy_cpu() The caller of cpufreq_add_policy_cpu() already has a pointer to the policy structure and there is no need to look it up again in cpufreq_add_policy_cpu(). Let's pass it directly. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>