Re: [PATCH v10 1/2] cpufreq: powernv: Fix bugs in powernv_cpufreq_{init/exit}

From
Rafael J. Wysocki <hidden>
Date
2016-02-26 23:58:50
Also in
linux-pm, lkml
Reply to
Viresh Kumar, 2016-02-26
On Friday, February 26, 2016 04:15:00 PM Viresh Kumar wrote:
On 26-02-16, 16:06, Shilpasri G Bhat wrote:
quoted
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 <redacted>
---
 drivers/cpufreq/powernv-cpufreq.c | 40 ++++++++++++++++++++++++++++-----------
 1 file changed, 29 insertions(+), 11 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Queued up for 4.6, thanks!

Rafael
Thread (6 messages) 6 messages, 3 authors, last reply 2016-02-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help