thermal/drivers: imx: Fix missing of_node_put() at probe time
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 26 Mar 2020 14:29:05 +0000 (22:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2020 07:33:59 +0000 (09:33 +0200)
commitb4c2daf782aa634cd0b62ddcd7c581451388ade3
treeb93f7b6c61d5f9d36256bcc8576681d73b179e2b
parent041ee87d2fafe0c23ded3b5e072b03102be66893
thermal/drivers: imx: Fix missing of_node_put() at probe time

[ Upstream commit b45fd13be340e4ed0a2a9673ba299eb2a71ba829 ]

After finishing using cpu node got from of_get_cpu_node(), of_node_put()
needs to be called.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1585232945-23368-1-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/thermal/imx_thermal.c