media: vidtv: simplify parameters for vidtv_pes_write_stuffing()
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 21 Sep 2020 05:34:42 +0000 (07:34 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 1 Oct 2020 07:22:00 +0000 (09:22 +0200)
commit09196d86e36624a9f9ae02d8a645f85fec52f1b0
tree70104401afcbc612c97f4d7dddfa1f69fc2ac490
parentd6a36eda73dcfbf85cea30d20cde314643f73855
media: vidtv: simplify parameters for vidtv_pes_write_stuffing()

Instead of passing struct pes_ts_header_write_args fields as
function parameters, just pass a pointer to the struct.

That would allow adding more args without needing to change
the function prototype.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vidtv/vidtv_pes.c