diff options
author | Pierre-Louis Bossart <[email protected]> | 2024-04-29 00:49:35 +0000 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2024-06-03 17:35:24 +0530 |
commit | e2d8ea0a066a6db51f31efd2710057271d685d2e (patch) | |
tree | dd20651707452274d1ad52623c35ac69df4cb468 /scripts/gdb/linux | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) |
soundwire: fix usages of device_get_named_child_node()
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.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions