Re: [PATCH] media/pci: Assign value when defining variables

2021-03-21 Thread Hans Verkuil
Hi zuoqilin, On 17/03/2021 04:08, zuoqil...@163.com wrote: > From: zuoqilin > > When defining variables and assigning values can be done at the same time. For future reference: add the name of the driver to the prefix. Saying 'media/pci:' suggests that you patch multiple PCI drivers in that

[PATCH] media/pci: Assign value when defining variables

2021-03-16 Thread zuoqilin1
From: zuoqilin When defining variables and assigning values can be done at the same time. Signed-off-by: zuoqilin --- drivers/media/pci/pt1/pt1.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/media/pci/pt1/pt1.c b/drivers/media/pci/pt1/pt1.c index