]> git.itanic.dy.fi Git - linux-stable/commit
macintosh/windfarm_smu_sat: Add missing of_node_put()
authorLiang He <windhl@126.com>
Thu, 30 Mar 2023 03:35:58 +0000 (11:35 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 30 Mar 2023 12:35:42 +0000 (23:35 +1100)
commit631cf002826007ab7415258ee647dcaf8845ad5a
treeff902ef69ca10bab7209534a6e22ad7bfefc0273
parent0398abca61482ae47a41ae8f2401338aea366327
macintosh/windfarm_smu_sat: Add missing of_node_put()

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

Fixes: ac171c46667c ("[PATCH] powerpc: Thermal control for dual core G5s")
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230330033558.2562778-1-windhl@126.com
drivers/macintosh/windfarm_smu_sat.c