diff options
author | Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> | 2016-02-26 11:36:51 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-02-26 22:18:19 +0100 |
commit | c5e29ea7ac144113f60dc540d7bb00cea5056b10 (patch) | |
tree | 2a77805decfc2d69b66e15e743d88c55b8bad3df /drivers/cpufreq/cpufreq.c | |
parent | cpufreq: intel_pstate: disable HWP notifications (diff) | |
download | linux-c5e29ea7ac144113f60dc540d7bb00cea5056b10.tar.xz linux-c5e29ea7ac144113f60dc540d7bb00cea5056b10.zip |
cpufreq: powernv: Fix bugs in powernv_cpufreq_{init/exit}
Unregister the notifiers if cpufreq_driver_register() fails in
powernv_cpufreq_init(). Re-arrange the unregistration and cleanup routines
in powernv_cpufreq_exit() to free all the resources after the driver
has unregistered.
Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
0 files changed, 0 insertions, 0 deletions