From: Viresh Kumar Date: Mon, 8 Jun 2015 12:55:32 +0000 (+0530) Subject: cpufreq: Remove cpufreq_update_policy() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~154^2~7^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37829029837b2f653fd407cbd6796dcf124c1ed8;p=pandora-kernel.git cpufreq: Remove cpufreq_update_policy() cpufreq_update_policy() was kept as a separate routine earlier as it was handling migration of sysfs directories, which isn't the case anymore. It is only updating policy->cpu now and is called by a single caller. The WARN_ON() isn't really required anymore, as we are just updating the cpu now, not moving the sysfs directories. Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed