Thread (3 messages) 3 messages, 3 authors, 2017-09-28

[RESEND PATCH v2 13/17] media: v4l2-async: simplify v4l2_async_subdev structure

From: s.nawrocki@samsung.com (Sylwester Nawrocki)
Date: 2017-09-28 13:02:52
Also in: linux-media, linux-renesas-soc, linux-samsung-soc

Possibly related (same subject, not in this thread)

On 09/28/2017 02:53 PM, Mauro Carvalho Chehab wrote:
(Resending for Mauro, while dropping the non-list recipients. The original
likely had too many recipients.)

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.

Signed-off-by: Mauro Carvalho Chehab <redacted>

Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help