From: Rafael J. Wysocki Date: Mon, 27 Jul 2015 21:11:50 +0000 (+0200) Subject: cpufreq: Pass CPU number to cpufreq_policy_alloc() X-Git-Tag: omap-for-v4.3/fixes-rc1~121^2~4^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a34e63b14486e98cf78c99bf8ef141de7508dbc2;p=pandora-kernel.git cpufreq: Pass CPU number to cpufreq_policy_alloc() Change cpufreq_policy_alloc() to take a CPU number instead of a CPU device pointer as its argument, as it is the only function called by cpufreq_add_dev() taking a device pointer argument at this point. That will allow us to split the CPU online part from cpufreq_add_dev() more cleanly going forward. Signed-off-by: Rafael J. Wysocki Acked-by: Viresh Kumar --- Reading git-diff-tree failed