summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorShresth Prasad <shresthprasad7@gmail.com>2024-04-28 14:52:27 +0300
committerRob Herring (Arm) <robh@kernel.org>2024-05-03 15:50:04 +0300
commit3fe5a2b9e7b4f2dad254b9c5a8e926cbcdebb49c (patch)
tree8af5b1741fb15e91f03b5af7bb5c8977bb7d37b0 /arch
parentc56436ef17520c5fb0f9c2fc47aa961a7946895f (diff)
downloadlinux-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 'arch')
0 files changed, 0 insertions, 0 deletions