]> git.itanic.dy.fi Git - linux-stable/commit
soc/tegra: fuse: Add missing of_node_put() in tegra_init_fuse()
authorLiang He <windhl@126.com>
Thu, 16 Jun 2022 01:46:36 +0000 (09:46 +0800)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Sep 2022 10:38:43 +0000 (12:38 +0200)
commite941712cccab8a96f03b5d3274159c1ed338efee
treedc21fbf4c086069a0b04f23f995ed19bcf11251b
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
soc/tegra: fuse: Add missing of_node_put() in tegra_init_fuse()

In this function, of_find_matching_node() will return a node pointer
with refcount incremented. We should use of_node_put() when the "np"
pointer is not used anymore.

Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/fuse-tegra.c