Skip to content

Commit

Permalink
staging: comedi: file: Removed whitespaces before quoted newlines
Browse files Browse the repository at this point in the history
Unnecessary whitespaces before quoted newlines

Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Maurice Dawson authored and Greg Kroah-Hartman committed Oct 5, 2010
1 parent 39d70a4 commit a285bf9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/staging/comedi/drivers/adl_pci9118.c
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ static int Compute_and_setup_dma(struct comedi_device *dev)
* align to 32bit down
*/
}
DPRINTK("2 dmalen0=%d dmalen1=%d \n", dmalen0, dmalen1);
DPRINTK("2 dmalen0=%d dmalen1=%d\n", dmalen0, dmalen1);

/* we want wake up every scan? */
if (devpriv->ai_flags & TRIG_WAKE_EOS) {
Expand Down Expand Up @@ -1294,7 +1294,7 @@ static int Compute_and_setup_dma(struct comedi_device *dev)
}
}

DPRINTK("3 dmalen0=%d dmalen1=%d \n", dmalen0, dmalen1);
DPRINTK("3 dmalen0=%d dmalen1=%d\n", dmalen0, dmalen1);
/* transfer without TRIG_WAKE_EOS */
if (!(devpriv->ai_flags & TRIG_WAKE_EOS)) {
/* if it's possible then allign DMA buffers to length of scan */
Expand Down Expand Up @@ -1322,13 +1322,13 @@ static int Compute_and_setup_dma(struct comedi_device *dev)
((devpriv->ai_n_realscanlen << 1) *
devpriv->ai_scans)) {
DPRINTK
("3.0 ai_n_realscanlen=%d ai_scans=%d \n",
("3.0 ai_n_realscanlen=%d ai_scans=%d\n",
devpriv->ai_n_realscanlen,
devpriv->ai_scans);
dmalen0 =
(devpriv->ai_n_realscanlen << 1) *
devpriv->ai_scans;
DPRINTK("3.1 dmalen0=%d dmalen1=%d \n", dmalen0,
DPRINTK("3.1 dmalen0=%d dmalen1=%d\n", dmalen0,
dmalen1);
dmalen0 &= ~3L;
} else { /*
Expand All @@ -1341,21 +1341,21 @@ static int Compute_and_setup_dma(struct comedi_device *dev)
dmalen1 =
(devpriv->ai_n_realscanlen << 1) *
devpriv->ai_scans - dmalen0;
DPRINTK("3.2 dmalen0=%d dmalen1=%d \n", dmalen0,
DPRINTK("3.2 dmalen0=%d dmalen1=%d\n", dmalen0,
dmalen1);
dmalen1 &= ~3L;
}
}
}

DPRINTK("4 dmalen0=%d dmalen1=%d \n", dmalen0, dmalen1);
DPRINTK("4 dmalen0=%d dmalen1=%d\n", dmalen0, dmalen1);

/* these DMA buffer size will be used */
devpriv->dma_actbuf = 0;
devpriv->dmabuf_use_size[0] = dmalen0;
devpriv->dmabuf_use_size[1] = dmalen1;

DPRINTK("5 dmalen0=%d dmalen1=%d \n", dmalen0, dmalen1);
DPRINTK("5 dmalen0=%d dmalen1=%d\n", dmalen0, dmalen1);
#if 0
if (devpriv->ai_n_scanlen < this_board->half_fifo_size) {
devpriv->dmabuf_panic_size[0] =
Expand Down

0 comments on commit a285bf9

Please sign in to comment.