Skip to contentSkip to conversation

Staging: comedi: dmm32at: Fix a code indent issue

PATCH In review Piotr Kubus 3 participants 3 messages Jan 6, 2015 – Jan 10, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: comedi: dmm32at: Fix a code indent issue

Fixed a code indent error found by checkpatch.pl in dmm32at.c.

---
v2: make the commit message clearer and shorter

 drivers/staging/comedi/drivers/dmm32at.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/dmm32at.c +1 -1
index 6df298a..31919b8 100644
@@ -365,7 +365,7 @@ static void dmm32at_setaitimer(struct comedi_device *dev, unsigned int nansec)
 	/* enable the ai conversion interrupt and the clock to start scans */
 	outb(DMM32AT_INTCLK_ADINT |
 	     DMM32AT_INTCLK_CLKEN | DMM32AT_INTCLK_CLKSEL,
-             dev->iobase + DMM32AT_INTCLK_REG);
+	     dev->iobase + DMM32AT_INTCLK_REG);
 }
 
 static int dmm32at_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
Signature · 1 line
1.9.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 15 lines · Piotr Kubus

Fixed a code indent error found by checkpatch.pl in dmm32at.c.

---
v2: make the commit message clearer and shorter

  drivers/staging/comedi/drivers/dmm32at.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/dmm32at.c +0 -0
index 6df298a..31919b8 100644

drivers/staging/comedi/drivers/dmm32at.c static void dmm32at_setaitimer(struct comedi_device *dev, unsigned int nansec) · line 371

Quoted 8 lines
drivers/staging/comedi/drivers/dmm32at.c +1 -1
@@ -365,7 +365,7 @@ static void dmm32at_setaitimer(struct comedi_device *dev, unsigned int nansec)
  	/* enable the ai conversion interrupt and the clock to start scans */
  	outb(DMM32AT_INTCLK_ADINT |
  	     DMM32AT_INTCLK_CLKEN | DMM32AT_INTCLK_CLKSEL,
-             dev->iobase + DMM32AT_INTCLK_REG);
+	     dev->iobase + DMM32AT_INTCLK_REG);
  }
 
  static int dmm32at_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
Signature · 2 lines
-=( Ian Abbott @ MEV Ltd.    E-mail: <[email protected]> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
maintainer
#2 lore raw
In reply to Piotr Kubus
Quoted 29 lines · Piotr Kubus

Fixed a code indent error found by checkpatch.pl in dmm32at.c.

---
v2: make the commit message clearer and shorter

 drivers/staging/comedi/drivers/dmm32at.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/dmm32at.c +1 -1
index 6df298a..31919b8 100644
@@ -365,7 +365,7 @@ static void dmm32at_setaitimer(struct comedi_device *dev, unsigned int nansec)
 	/* enable the ai conversion interrupt and the clock to start scans */
 	outb(DMM32AT_INTCLK_ADINT |
 	     DMM32AT_INTCLK_CLKEN | DMM32AT_INTCLK_CLKSEL,
-             dev->iobase + DMM32AT_INTCLK_REG);
+	     dev->iobase + DMM32AT_INTCLK_REG);
 }
 
 static int dmm32at_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
Signature · 6 lines
1.9.1

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Already sent by someone else before you :(