]> git.baikalelectronics.ru Git - kernel.git/commit
media: vidtv: simplify SDT write function
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Nov 2020 09:20:23 +0000 (10:20 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 07:05:24 +0000 (08:05 +0100)
commit38a8b3a06194c50d33753b9d598ead8998193d2a
tree97001c18cb92de563d6f0d7e49d77f5eb8aa3d52
parent7624fe344f7817d08822f9f373d780e6bd0a4c67
media: vidtv: simplify SDT write function

- pass struct vidtv_psi_sdt_write_args as a pointer;
- avoid initializing struct fields multiple times.

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