]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: (noup) cpufreq: powernv: Fix bugs in powernv_cpufreq_{init/exit}
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Fri, 26 Feb 2016 10:36:51 +0000 (16:06 +0530)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:26:56 +0000 (10:26 +0100)
commitc2d9871123590123f66419f6641a146649b9bdaa
treee0412fa5e1b20afc2a04b40a47c2f16a57406abd
parent7167658afd99080c6956c21ed0652e956d5881b1
UBUNTU: SAUCE: (noup) cpufreq: powernv: Fix bugs in powernv_cpufreq_{init/exit}

BugLink: http://bugs.launchpad.net/bugs/1555765
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: Tim Gardner <tim.gardner@canonical.com>
drivers/cpufreq/powernv-cpufreq.c