Skip to content
Commit f4470dbf authored by Liang He's avatar Liang He Committed by Heiko Stuebner
Browse files

ARM: rockchip: Add missing of_node_put() in rockchip_suspend_init()



In rockchip_suspend_init(), of_find_matching_node_and_match() will
return a node pointer with refcount incremented. We should use
of_node_put() in fail path or when it is not used anymore.

Signed-off-by: default avatarLiang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220616021713.3973472-1-windhl@126.com


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent f2906aa8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment