media: v4l2-async: simplify v4l2_async_subdev structure
The V4L2_ASYNC_MATCH_FWNODE match criteria requires just one
struct to be filled (struct fwnode_handle). The V4L2_ASYNC_MATCH_DEVNAME
match criteria requires just a device name.
So, it doesn't make sense to enclose those into structs,
as the criteria can go directly into the union.
That makes easier to document it, as we don't need to document
weird senseless structs.
At drivers, this makes even clearer about the match criteria.
Acked-by: Sylwester Nawrocki <[email protected]>
Acked-by: Benoit Parrot <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Acked-by: Sakari Ailus <[email protected]>
Acked-by: Philipp Zabel <[email protected]>
Acked-by: Hyun Kwon <[email protected]>
Acked-by: Niklas Söderlund <[email protected]>
Acked-by: Lad, Prabhakar <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
17 files changed