]> git.baikalelectronics.ru Git - kernel.git/commit
media: vidtv: simplify NIT write function
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Nov 2020 09:37:12 +0000 (10:37 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 07:05:24 +0000 (08:05 +0100)
commitff630b05f1af19d5c81b8c9a9dec68f41d39cbf7
treea9c278fbed6be85a83b169f8d6350617775a86ae
parent38a8b3a06194c50d33753b9d598ead8998193d2a
media: vidtv: simplify NIT write function

- pass struct vidtv_psi_nit_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