The reference taken by of_find_device_by_node()
must be released when not needed anymore.
Add missing put_device() call to fix device reference leaks.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| acpi.c | ||
| core.c | ||
| dw.c | ||
| idma32.c | ||
| internal.h | ||
| of.c | ||
| pci.c | ||
| platform.c | ||
| regs.h | ||
| rzn1-dmamux.c | ||