cpufreq: Pass policy to cpufreq_add_policy_cpu()
authorViresh Kumar <viresh.kumar@linaro.org>
Sat, 3 Aug 2013 23:20:07 +0000 (01:20 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 Aug 2013 21:02:50 +0000 (23:02 +0200)
commitd8d3b4711297e101bbad826474013edbe342c333
treeaf0786e2884a0d31b9c0506ed8d01ee1ccc44414
parent10659ab7b50e963429f1a681882404ca37aa584c
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>
drivers/cpufreq/cpufreq.c