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);
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@208suo.com> --- drivers/staging/media/av7110/av7110.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) #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));