forked from luck/tmp_suning_uos_patched
c980392af1
commit 1ba904b6b16e08de5aed7c1349838d9cd0d178c5 upstream.
of_find_compatible_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.
Fixes:
|
||
---|---|---|
.. | ||
cns3xxx.h | ||
cns3420vb.c | ||
core.c | ||
core.h | ||
devices.c | ||
devices.h | ||
Kconfig | ||
Makefile | ||
pcie.c | ||
pm.c | ||
pm.h |