linux/drivers/platform/mips
Yang Yingliang a029ccc810 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: 7eb7819a2e ("MIPS: Loongson64: Add Loongson-2K1000 reset platform driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2022-01-05 09:53:45 +01:00
..
cpu_hwmon.c
Kconfig MIPS: Loongson64: Add Loongson-2K1000 reset platform driver 2022-01-02 14:13:09 +01:00
ls2k-reset.c MIPS: Loongson64: Add missing of_node_put() in ls2k_reset_init() 2022-01-05 09:53:45 +01:00
Makefile MIPS: Loongson64: Add Loongson-2K1000 reset platform driver 2022-01-02 14:13:09 +01:00
rs780e-acpi.c