Commit 96ee5c57 authored by Abdulrasaq Lawani's avatar Abdulrasaq Lawani Committed by Greg Kroah-Hartman
Browse files

fbdev: offb: replace of_node_put with __free(device_node)



[ Upstream commit ce4a7ae8 ]

Replaced instance of of_node_put with __free(device_node)
to simplify code and protect against any memory leaks
due to future changes in the control flow.

Suggested-by: default avatarJulia Lawall <julia.lawall@inria.fr>
Signed-off-by: default avatarAbdulrasaq Lawani <abdulrasaqolawani@gmail.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2aad4b8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment