From: Viresh Kumar Date: Sat, 3 Aug 2013 23:20:07 +0000 (+0200) Subject: cpufreq: Pass policy to cpufreq_add_policy_cpu() X-Git-Tag: v3.12-rc1~178^2~4^2~1^2~15^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8d3b4711297e101bbad826474013edbe342c333;p=pandora-kernel.git 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 Reviewed-by: Srivatsa S. Bhat Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed