diff options
author | Shresth Prasad <shresthprasad7@gmail.com> | 2024-04-28 17:22:27 +0530 |
---|---|---|
committer | Rob Herring (Arm) <robh@kernel.org> | 2024-05-03 07:50:04 -0500 |
commit | 3fe5a2b9e7b4f2dad254b9c5a8e926cbcdebb49c (patch) | |
tree | 8af5b1741fb15e91f03b5af7bb5c8977bb7d37b0 /scripts/gdb/linux/stackdepot.py | |
parent | c56436ef17520c5fb0f9c2fc47aa961a7946895f (diff) |
of: property: Use scope based cleanup on port_node
Use __free cleanup handler which ensures that the resource is freed when
it goes out of scope, thus removing the need to manually clean it up
using of_node_put.
Suggested-by: Julia Lawall <julia.lawall@inria.fr>
Signed-off-by: Shresth Prasad <shresthprasad7@gmail.com>
Link: https://lore.kernel.org/r/20240428115226.41345-2-shresthprasad7@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions