[PATCH 4/4] Staging: comedi: fix warning: line over 80 character issue in rtd520.c

From: Ravishankar
Date: Fri Jul 08 2011 - 08:10:33 EST


From: Ravishankar <ravi.shankar@xxxxxxxxxxxxxxx>

This is a patch to the rtd520.c file that fixes up a warning: line over 80 character found by the checkpatch.pl tool

Signed-off-by: Ravishankar <ravishankarkm32@xxxxxxxxx>
---
drivers/staging/comedi/drivers/rtd520.c | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/comedi/drivers/rtd520.c b/drivers/staging/comedi/drivers/rtd520.c
index dd00b4a..d31abfb 100644
--- a/drivers/staging/comedi/drivers/rtd520.c
+++ b/drivers/staging/comedi/drivers/rtd520.c
@@ -1581,7 +1581,7 @@ static irqreturn_t rtd_interrupt(int irq, /* interrupt number (ignored) */
}

/*DPRINTK ("rtd520: DMA transfer: %ld to go, istatus %x\n",
- devpriv->aiCount, istatus); */
+ devpriv->aiCount, istatus); */
RtdDma0Control(dev,
(devpriv->
dma0Control & ~PLX_DMA_START_BIT)
@@ -1592,7 +1592,8 @@ static irqreturn_t rtd_interrupt(int irq, /* interrupt number (ignored) */
}
comedi_event(dev, s);
} else {
- /*DPRINTK ("rtd520: No DMA ready: istatus %x\n", istatus); */
+ /*DPRINTK ("rtd520: No DMA ready: istatus %x\n",
+ istatus); */
}
}
/* Fall through and check for other interrupt sources */
@@ -1604,9 +1605,10 @@ static irqreturn_t rtd_interrupt(int irq, /* interrupt number (ignored) */
return IRQ_HANDLED;

if (status & IRQM_ADC_ABOUT_CNT) { /* sample count -> read FIFO */
- /* since the priority interrupt controller may have queued a sample
- counter interrupt, even though we have already finished,
- we must handle the possibility that there is no data here */
+ /* since the priority interrupt controller may have queued a
+ sample counter interrupt, even though we have already
+ finished, we must handle the possibility that there is no
+ data here */
if (!(fifoStatus & FS_ADC_HEMPTY)) { /* 0 -> 1/2 full */
/*DPRINTK("rtd520: Sample int, reading 1/2FIFO. fifo_status 0x%x\n",
(fifoStatus ^ 0x6666) & 0x7777); */
@@ -1701,7 +1703,8 @@ transferDone:

fifoStatus = RtdFifoStatus(dev); /* DEBUG */
DPRINTK
- ("rtd520: Acquisition complete. %ld ints, intStat=%x, overStat=%x\n",
+ ("rtd520: Acquisition complete. %ld ints, intStat=%x, overStat=%x\n"
+,
devpriv->intCount, status,
0xffff & RtdInterruptOverrunStatus(dev));

@@ -1714,7 +1717,8 @@ transferDone:
*/
static int rtd_ai_poll(struct comedi_device *dev, struct comedi_subdevice *s)
{
- /* TODO: This needs to mask interrupts, read_dregs, and then re-enable */
+ /* TODO: This needs to mask interrupts, read_dregs, and
+ * then re - enable */
/* Not sure what to do if DMA is active */
return s->async->buf_write_count - s->async->buf_read_count;
}
--
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/