projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3e2354
)
staging: comedi: fix missing parentheses
author
Roel Kluin
<roel.kluin@gmail.com>
Thu, 14 May 2009 11:58:26 +0000
(13:58 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 19 Jun 2009 18:00:34 +0000
(11:00 -0700)
Add missing parentheses.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/pcl818.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/pcl818.c
b/drivers/staging/comedi/drivers/pcl818.c
index
607c717
..
039a77a
100644
(file)
--- a/
drivers/staging/comedi/drivers/pcl818.c
+++ b/
drivers/staging/comedi/drivers/pcl818.c
@@
-460,9
+460,9
@@
static int pcl818_ao_insn_write(struct comedi_device *dev, struct comedi_subdevi
for (n = 0; n < insn->n; n++) {
devpriv->ao_readback[chan] = data[n];
outb((data[n] & 0x000f) << 4, dev->iobase +
- (chan
) ? PCL718_DA2_LO : PCL818_DA_LO
);
+ (chan
? PCL718_DA2_LO : PCL818_DA_LO)
);
outb((data[n] & 0x0ff0) >> 4, dev->iobase +
- (chan
) ? PCL718_DA2_HI : PCL818_DA_HI
);
+ (chan
? PCL718_DA2_HI : PCL818_DA_HI)
);
}
return n;