cpufreq: Remove cpufreq_update_policy()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 8 Jun 2015 12:55:32 +0000 (18:25 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Jun 2015 23:03:04 +0000 (01:03 +0200)
commit37829029837b2f653fd407cbd6796dcf124c1ed8
tree1bdd7abd5c83ba83105e3ab7fddf58409de91ab9
parent9591becbf226e3aa0f6c73494736e2c5ab14cc8d
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 <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c