diff options
author | Shresth Prasad <shresthprasad7@gmail.com> | 2024-04-28 14:52:27 +0300 |
---|---|---|
committer | Rob Herring (Arm) <robh@kernel.org> | 2024-05-03 15:50:04 +0300 |
commit | 3fe5a2b9e7b4f2dad254b9c5a8e926cbcdebb49c (patch) | |
tree | 8af5b1741fb15e91f03b5af7bb5c8977bb7d37b0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c56436ef17520c5fb0f9c2fc47aa961a7946895f (diff) | |
download | linux-3fe5a2b9e7b4f2dad254b9c5a8e926cbcdebb49c.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions