commit | c5e29ea7ac144113f60dc540d7bb00cea5056b10 | [log] [tgz] |
---|---|---|
author | Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> | Fri Feb 26 16:06:51 2016 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Feb 26 22:18:19 2016 +0100 |
tree | 2a77805decfc2d69b66e15e743d88c55b8bad3df | |
parent | f05c966585ec5295516f946505661ec2f9966e5a [diff] |
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>