Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 008b334a authored by Marco Felsch's avatar Marco Felsch Committed by Greg Kroah-Hartman
Browse files

media: v4l2-fwnode: simplify v4l2_fwnode_parse_link



[ Upstream commit 507a0ba93aa1cf2837d2abc4ab0cbad3c29409d3 ]

This helper was introduced before those helpers where awailable. Convert
it to cleanup the code and improbe readability.

Signed-off-by: default avatarMarco Felsch <m.felsch@pengutronix.de>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Stable-dep-of: d7b13edd4cb4 ("media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 064e156e
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