Commit 6104b99b authored by Abhinav Jain's avatar Abhinav Jain Committed by Andi Shyti
Browse files

i2c: mpc: Removal of of_node_put with __free for auto cleanup



Remove of_node_put from node_ctrl and node struct device_nodes.
Move the declaration to initialization for ensuring scope sanity.

Suggested-by: default avatarJulia Lawall <julia.lawall@inria.fr>
Signed-off-by: default avatarAbhinav Jain <jain.abhinav177@gmail.com>
Reviewed-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent f32a32ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment