From: Viresh Kumar Date: Thu, 17 Jul 2014 05:18:28 +0000 (+0530) Subject: cpufreq: move policy kobj to update_policy_cpu() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~142^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bfb425b3b6bf30f5d4b851049b2057dce860bfd;p=pandora-kernel.git cpufreq: move policy kobj to update_policy_cpu() We are calling kobject_move() from two separate places currently and both these places share another routine update_policy_cpu() which is handling everything around updating policy->cpu. Moving ownership of policy->kobj also lies under the role of update_policy_cpu() routine and must be handled from there. So, Lets move kobject_move() to update_policy_cpu() and get rid of cpufreq_nominate_new_policy_cpu() as it doesn't have anything significant left. Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed