]> git.baikalelectronics.ru Git - kernel.git/commit
media: vidtv: simplify EIT write function
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Nov 2020 09:50:58 +0000 (10:50 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 07:05:24 +0000 (08:05 +0100)
commited9744b3f407b417676677977cac78e024289190
tree55ace20ec2cc1c86b2bb3558fc98ac044fe4acbe
parentff630b05f1af19d5c81b8c9a9dec68f41d39cbf7
media: vidtv: simplify EIT write function

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