linux-stable/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
..
Kconfig MIPS: Loongson64: Add Loongson-2K1000 reset platform driver 2022-01-02 14:13:09 +01:00
Makefile MIPS: Loongson64: Add Loongson-2K1000 reset platform driver 2022-01-02 14:13:09 +01:00
cpu_hwmon.c MIPS: Loongson: Fix boot warning about hwmon_device_register() 2020-07-16 10:49:55 +02:00
ls2k-reset.c MIPS: Loongson64: Add missing of_node_put() in ls2k_reset_init() 2022-01-05 09:53:45 +01:00
rs780e-acpi.c MIPS: Loongson64: Make acpi_registers_setup() static 2020-07-08 11:30:10 +02:00