mirror of https://github.com/torvalds/linux.git
The driver calls fwnode_get_named_child_node() which takes a reference
on the child node, but never releases it, which causes a reference leak.
Fix by using devm_add_action_or_reset() to automatically release the
reference when the device is removed.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-cs42l43.c | ||
| pinctrl-cs47l15.c | ||
| pinctrl-cs47l35.c | ||
| pinctrl-cs47l85.c | ||
| pinctrl-cs47l90.c | ||
| pinctrl-cs47l92.c | ||
| pinctrl-lochnagar.c | ||
| pinctrl-madera-core.c | ||
| pinctrl-madera.h | ||