]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: stats: remove hotplug notifiers
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 7 Jan 2014 01:40:11 +0000 (07:10 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 17 Jan 2014 01:00:43 +0000 (02:00 +0100)
commit3ddf4f46557edcf57bac543af45a5f63d0d12045
tree440248d6535219375e9dd41d2a6617169750232a
parent60d0a98d8c704f5ded5639e3aae1b3ae0e2807f4
cpufreq: stats: remove hotplug notifiers

Either CPUs are hot-unplugged or suspend/resume occurs, cpufreq core
will send notifications to cpufreq-stats and stats structure and sysfs
entries would be correctly handled..

And so we don't actually need hotcpu notifiers in cpufreq-stats anymore.
We were only handling cpu hot-unplug events here and that are already
taken care of by POLICY notifiers.

Acked-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_stats.c