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)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 29 Jun 2020 10:13:11 +0000 (12:13 +0200)
commitb45fd13be340e4ed0a2a9673ba299eb2a71ba829
treec0b92d7bfd27c9e1e4d33d49758cfef25ed1adcd
parent9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
thermal/drivers: imx: Fix missing of_node_put() at probe time

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
drivers/thermal/imx_thermal.c