]> git.baikalelectronics.ru Git - kernel.git/commit
media: vidtv: cleanup PMT write table function
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Nov 2020 08:58:31 +0000 (09:58 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 07:05:24 +0000 (08:05 +0100)
commit7624fe344f7817d08822f9f373d780e6bd0a4c67
tree7e78ca5c8bd260d0b4f4ff26d88b66b2c2c1ec03
parent0d4e3e30c5b5b78f294528182521f70ddb16f26e
media: vidtv: cleanup PMT write table function

- Pass struct vidtv_psi_pmt_write_args as a pointer;
- Avoid initializing structs 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