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

macintosh/windfarm_smu_sat: Add missing of_node_put()



[ Upstream commit 631cf002 ]

We call of_node_get() in wf_sat_probe() after sat is created,
so we need the of_node_put() before *kfree(sat)*.

Fixes: ac171c46 ("[PATCH] powerpc: Thermal control for dual core G5s")
Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230330033558.2562778-1-windhl@126.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5b9fc529
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