aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/drivers/ni_at_ao.c
diff options
context:
space:
mode:
authorAllison Randal <allison@parrot.org>2009-09-24 00:19:43 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 12:21:49 -0800
commitd1a044083c2d09cc146f97dc2a1e7b31dc63fbfb (patch)
tree247dcd2c535cc03a4762ab25902d861f553fa208 /drivers/staging/comedi/drivers/ni_at_ao.c
parentStaging: comedi: comedidev.h: Fixed checkpatch.pl issues (diff)
downloadlinux-dev-d1a044083c2d09cc146f97dc2a1e7b31dc63fbfb.tar.xz
linux-dev-d1a044083c2d09cc146f97dc2a1e7b31dc63fbfb.zip
Staging: comdi: ni_at_ao.c: fix coding style error
The line was too long, used braces on single line for loop body. Signed-off-by: Allison Randal <allison@parrot.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/drivers/ni_at_ao.c')
-rw-r--r--drivers/staging/comedi/drivers/ni_at_ao.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/ni_at_ao.c b/drivers/staging/comedi/drivers/ni_at_ao.c
index 8adb23739846..3778565c1f6b 100644
--- a/drivers/staging/comedi/drivers/ni_at_ao.c
+++ b/drivers/staging/comedi/drivers/ni_at_ao.c
@@ -32,7 +32,8 @@ Configuration options:
[0] - I/O port base address
[1] - IRQ (unused)
[2] - DMA (unused)
- [3] - analog output range, set by jumpers on hardware (0 for -10 to 10V bipolar, 1 for 0V to 10V unipolar)
+ [3] - analog output range, set by jumpers on hardware (0 for -10 to 10V
+ bipolar, 1 for 0V to 10V unipolar)
*/
/*
@@ -431,9 +432,8 @@ static int atao_calib_insn_read(struct comedi_device *dev,
struct comedi_insn *insn, unsigned int *data)
{
int i;
- for (i = 0; i < insn->n; i++) {
+ for (i = 0; i < insn->n; i++)
data[i] = 0; /* XXX */
- }
return insn->n;
}