Skip to contentSkip to conversation

staging: comedi: me4000: Fixed code style issue

PATCH In review Marcus Hufvudsson 2 participants 2 messages Nov 15, 2014 – Nov 17, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: comedi: me4000: Fixed code style issue

Fixed checkpatch.pl error message. Space prohibited before that ','

---
 drivers/staging/comedi/drivers/me4000.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/me4000.c +1 -1
index ae6ac49..fc67419 100644
@@ -416,7 +416,7 @@ static void me4000_reset(struct comedi_device *dev)
 	val |= PLX9052_CNTRL_PCI_RESET;
 	outl(val, info->plx_regbase + PLX9052_CNTRL);
 	val &= ~PLX9052_CNTRL_PCI_RESET;
-	outl(val , info->plx_regbase + PLX9052_CNTRL);
+	outl(val, info->plx_regbase + PLX9052_CNTRL);
 
 	/* 0x8000 to the DACs means an output voltage of 0V */
 	for (chan = 0; chan < 4; chan++)
Signature · 1 line
1.7.10.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Marcus Hufvudsson

Fixed checkpatch.pl error message. Space prohibited before that ','

---
  drivers/staging/comedi/drivers/me4000.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/me4000.c +0 -0
index ae6ac49..fc67419 100644

drivers/staging/comedi/drivers/me4000.c static void me4000_reset(struct comedi_device *dev) · line 422

Quoted 8 lines
drivers/staging/comedi/drivers/me4000.c +1 -1
@@ -416,7 +416,7 @@ static void me4000_reset(struct comedi_device *dev)
  	val |= PLX9052_CNTRL_PCI_RESET;
  	outl(val, info->plx_regbase + PLX9052_CNTRL);
  	val &= ~PLX9052_CNTRL_PCI_RESET;
-	outl(val , info->plx_regbase + PLX9052_CNTRL);
+	outl(val, info->plx_regbase + PLX9052_CNTRL);
 
  	/* 0x8000 to the DACs means an output voltage of 0V */
  	for (chan = 0; chan < 4; chan++)
Signature · 2 lines
-=( Ian Abbott @ MEV Ltd.    E-mail: <[email protected]> )=-
-=(                          Web: http://www.mev.co.uk/  )=-