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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| cns3xxx.h | ||
| cns3420vb.c | ||
| core.c | ||
| core.h | ||
| devices.c | ||
| devices.h | ||
| pcie.c | ||
| pm.c | ||
| pm.h | ||