diff options
| author | Shresth Prasad <[email protected]> | 2024-04-28 11:52:27 +0000 |
|---|---|---|
| committer | Rob Herring (Arm) <[email protected]> | 2024-05-03 12:50:04 +0000 |
| commit | 3fe5a2b9e7b4f2dad254b9c5a8e926cbcdebb49c (patch) | |
| tree | 8af5b1741fb15e91f03b5af7bb5c8977bb7d37b0 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | of: reserved_mem: Remove the use of phandle from the reserved_mem APIs (diff) | |
| download | kernel-3fe5a2b9e7b4f2dad254b9c5a8e926cbcdebb49c.tar.gz kernel-3fe5a2b9e7b4f2dad254b9c5a8e926cbcdebb49c.zip | |
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 <[email protected]>
Signed-off-by: Shresth Prasad <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring (Arm) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
