The documentation for device_get_named_child_node() mentions this
important point:
"
The caller is responsible for calling fwnode_handle_put() on the
returned fwnode pointer.
"
Add fwnode_handle_put() to avoid leaked references.
Fixes:
|
||
---|---|---|
.. | ||
ar9331.c | ||
Kconfig | ||
Makefile | ||
qca8k-8xxx.c | ||
qca8k-common.c | ||
qca8k-leds.c | ||
qca8k.h | ||
qca8k_leds.h |