Skip to content
Commit 971b4eef authored by Abdulrasaq Lawani's avatar Abdulrasaq Lawani Committed by Hans Verkuil
Browse files

media: i2c: ov5647: replacing of_node_put with __free(device_node)



Replace instance of of_node_put with __free(device_node)
to protect against any memory leaks due to future changes
in control flow.

Signed-off-by: default avatarAbdulrasaq Lawani <abdulrasaqolawani@gmail.com>
Acked-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 15765ff7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment