aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/drivers/pcmuio.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-04-23 15:54:53 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:32 -0700
commit9b9bcba0cafa2578cebbe0eca01eaafd49f3e43b (patch)
treedddb0f3468464d235ec2f4c3ab95b9f284d51b1d /drivers/staging/comedi/drivers/pcmuio.c
parent56e9e16619a0c14dc948cf88b3a7aaa70ac92b45 (diff)
Staging: comedi: remove space after ampersand
Change calses of & foo to &foo as suggested by checkpatch. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/drivers/pcmuio.c')
-rw-r--r--drivers/staging/comedi/drivers/pcmuio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/pcmuio.c b/drivers/staging/comedi/drivers/pcmuio.c
index e02017369f7..bf419e0445b 100644
--- a/drivers/staging/comedi/drivers/pcmuio.c
+++ b/drivers/staging/comedi/drivers/pcmuio.c
@@ -781,10 +781,10 @@ static irqreturn_t interrupt_pcmuio(int irq, void *d)
}
}
/* Write the scan to the buffer. */
- if (comedi_buf_put(s->async, ((short *) & val)[0])
+ if (comedi_buf_put(s->async, ((short *) &val)[0])
&&
comedi_buf_put
- (s->async, ((short *) & val)[1])) {
+ (s->async, ((short *) &val)[1])) {
s->async->events |= (COMEDI_CB_BLOCK | COMEDI_CB_EOS);
} else {
/* Overflow! Stop acquisition!! */