media: mdp3: Fix resource leaks in of_find_device_by_node
[ Upstream commit 35ca8ce4 ] Use put_device to release the object get through of_find_device_by_node, avoiding resource leaks. Signed-off-by: Lu Hongfei <luhongfei@vivo.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Sasha Levin <sashal@kernel.org>
parent
a9d65399
Please register or sign in to comment