Skip to content
Commit a029ccc8 authored by Yang Yingliang's avatar Yang Yingliang Committed by Thomas Bogendoerfer
Browse files

MIPS: Loongson64: Add missing of_node_put() in ls2k_reset_init()



This node pointer is returned by of_find_compatible_node() with
refcount incremented in ls2k_reset_init(). Calling of_node_put()
to aovid the refcount leak.

Fixes: 7eb7819a ("MIPS: Loongson64: Add Loongson-2K1000 reset platform driver")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 79876cc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment