aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-10-31 17:30:30 +0100
committerLee Jones <lee@kernel.org>2024-11-06 08:13:14 +0000
commit02f58f97419c828f58e30f24f54395ac9be159c0 (patch)
treedb79fe985cac20b67a83a4d159fb465e7d62dde6 /scripts/lib/kdoc/kdoc_re.py
parentleds: Introduce ordered workqueue for LEDs events instead of system_wq (diff)
downloadwireguard-linux-02f58f97419c828f58e30f24f54395ac9be159c0.tar.xz
wireguard-linux-02f58f97419c828f58e30f24f54395ac9be159c0.zip
leds: max5970: Fix unreleased fwnode_handle in probe function
An object initialized via device_get_named_child_node() requires calls to fwnode_handle_put() when it is no longer required to avoid leaking memory. Add the automatic cleanup facility for 'led_node' to ensure that fwnode_handle_put() is called in all execution paths. Fixes: 736214b4b02a ("leds: max5970: Add support for max5970") Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20241031-max5970-of_node_put-v2-1-0ffe1f1d3bc9@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions