From: Viresh Kumar Date: Wed, 31 Jul 2013 12:31:33 +0000 (+0200) Subject: cpufreq: Remove extra variables from cpufreq_add_dev_symlink() X-Git-Tag: v3.12-rc1~178^2~4^2~1^2~15^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8fdde1011ea45792e60f14f620b01f78cb0d34d;p=pandora-kernel.git cpufreq: Remove extra variables from cpufreq_add_dev_symlink() We call cpufreq_cpu_get() in cpufreq_add_dev_symlink() to increase usage refcount of policy, but not to get a policy for the given CPU. So, we don't really need to capture the return value of this routine. We can simply use policy passed as an argument to cpufreq_add_dev_symlink(). Moreover debug print is rewritten to make it more clear. [rjw: Changelog] Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed