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)
commit027cc2e4a6127fdf29e17a422aacb5ecd9830cbb
tree440248d6535219375e9dd41d2a6617169750232a
parentfcd7af917abba798cd954419030142e95139359f
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