f44b799603
of_get_child_by_name() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
This function only calls of_node_put() in normal path,
missing it in error paths.
Add missing of_node_put() to avoid refcount leak.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
exynos-nocp.c | ||
exynos-nocp.h | ||
exynos-ppmu.c | ||
exynos-ppmu.h | ||
rockchip-dfi.c |