mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ar9331.c | ||
| qca8k-8xxx.c | ||
| qca8k-common.c | ||
| qca8k-leds.c | ||
| qca8k.h | ||
| qca8k_leds.h | ||