commit | 46cb7868811d025c3d29c10d18b3422db1cf20d5 | [log] [tgz] |
---|---|---|
author | Peng Wu <wupeng58@huawei.com> | Thu Apr 28 10:43:06 2022 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jun 14 16:52:30 2022 +0200 |
tree | 9c83ec1b7aed32e3ca834f13e1a09258a5f534d7 | |
parent | 48a65f958d9c4505e1f2aafc5399e235b0c53aed [diff] |
ARM: hisi: Add missing of_node_put after of_find_compatible_node [ Upstream commit 9bc72e47d4630d58a840a66a869c56b29554cfe4 ] of_find_compatible_node will increment the refcount of the returned device_node. Calling of_node_put() to avoid the refcount leak Signed-off-by: Peng Wu <wupeng58@huawei.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com> Signed-off-by: Sasha Levin <sashal@kernel.org>