Skip to content
Commit 57289b66 authored by Liang He's avatar Liang He Committed by Greg Kroah-Hartman
Browse files

cpufreq: pmac32-cpufreq: Fix refcount leak bug

[ Upstream commit ccd7567d

 ]

In pmac_cpufreq_init_MacRISC3(), we need to add corresponding
of_node_put() for the three node pointers whose refcount have
been incremented by of_find_node_by_name().

Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 06f818de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment