Skip to contentSkip to conversation

staging: removing warnings reported by checkpatch tool on cb_pcimdas.c

PATCH In review Raghavendra Ganiga 2 participants 2 messages May 10, 2014 – May 19, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: removing warnings reported by checkpatch tool on cb_pcimdas.c

This is a patch to remove warnings reported
by checkpatch tool on cb_pcimdas.c file

---
 drivers/staging/comedi/drivers/cb_pcimdas.c |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
drivers/staging/comedi/drivers/cb_pcimdas.c +8 -3
index d3141c8..50e522e 100644
@@ -31,7 +31,8 @@ Configuration Options:
 
 Developed from cb_pcidas and skel by Richard Bytheway ([email protected]).
 Only supports DIO, AO and simple AI in it's present form.
-No interrupts, multi channel or FIFO AI, although the card looks like it could support this.
+No interrupts, multi channel or FIFO AI,
+although the card looks like it could support this.
 See http://www.mccdaq.com/PDFs/Manuals/pcim-das1602-16.pdf for more details.
 */
 
@@ -128,8 +129,12 @@ static int cb_pcimdas_ai_rinsn(struct comedi_device *dev,
 		d = d & 0xfd;
 		outb(d, devpriv->BADR3 + 5);
 	}
-	outb(0x01, devpriv->BADR3 + 6);	/* set bursting off, conversions on */
-	outb(0x00, devpriv->BADR3 + 7);	/* set range to 10V. UP/BP is controlled by a switch on the board */
+
+	/* set bursting off, conversions on */
+	outb(0x01, devpriv->BADR3 + 6);
+
+	/* set range to 10V. UP/BP is controlled by a switch on the board */
+	outb(0x00, devpriv->BADR3 + 7);
 
 	/*
 	 * write channel limits to multiplexer, set Low (bits 0-3) and
Signature · 1 line
1.7.10.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Raghavendra Ganiga

This is a patch to remove warnings reported
by checkpatch tool on cb_pcimdas.c file

---
  drivers/staging/comedi/drivers/cb_pcimdas.c |   11 ++++++++---
  1 file changed, 8 insertions(+), 3 deletions(-)

Thanks!

Signature · 2 lines
-=( Ian Abbott @ MEV Ltd.    E-mail: <[email protected]>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-