[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <89948b0041b6553b65a8cf8e8f1152b4@208suo.com>
Date: Tue, 18 Jul 2023 15:27:58 +0800
From: hanyu001@...suo.com
To: mchehab@...nel.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Cc: linux-media@...r.kernel.org
Subject: [PATCH] wifi: av7110: remove space before ')'
The patch fixes the following errors detected by checkpatch.pl:
./drivers/staging/media/av7110/av7110.c:2556: ERROR: space prohibited
before that close parenthesis ')'
./drivers/staging/media/av7110/av7110.c:2558: ERROR: space prohibited
before that close parenthesis ')'
./drivers/staging/media/av7110/av7110.c:2599: ERROR: space prohibited
before that close parenthesis ')'
Signed-off-by: Yu Han <hanyu001@...suo.com>
---
drivers/staging/media/av7110/av7110.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/media/av7110/av7110.c
b/drivers/staging/media/av7110/av7110.c
index a5a431c1..6b9df2c 100644
--- a/drivers/staging/media/av7110/av7110.c
+++ b/drivers/staging/media/av7110/av7110.c
@@ -2553,9 +2553,9 @@ static int av7110_attach(struct saa7146_dev* dev,
* use 0x03 to track RPS1 interrupts - increase by 1 every
gpio3 is toggled
* use 0x15 to track VPE interrupts - increase by 1 every
vpeirq() is called
*/
- saa7146_write(dev, EC1SSR, (0x03<<2) | 3 );
+ saa7146_write(dev, EC1SSR, (0x03<<2) | 3);
/* set event counter 1 threshold to maximum allowed value
(rEC p55) */
- saa7146_write(dev, ECT1R, 0x3fff );
+ saa7146_write(dev, ECT1R, 0x3fff);
#endif
/* Setup BUDGETPATCH MAIN RPS1 "program" (p35) */
count = 0;
@@ -2596,7 +2596,7 @@ static int av7110_attach(struct saa7146_dev* dev,
* then RPS_THRESH1 should be set to trigger
* every TS_HEIGHT (512) lines.
*/
- saa7146_write(dev, RPS_THRESH1, (TS_HEIGHT*1) | MASK_12 );
+ saa7146_write(dev, RPS_THRESH1, (TS_HEIGHT*1) | MASK_12);
/* Enable RPS1
(rFC p33) */
saa7146_write(dev, MC1, (MASK_13 | MASK_29));
Powered by blists - more mailing lists