Commit c6d94c74 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: adv_pci1723: checkpatch.pl cleanup (missing blank line)

Fix this checkpatch.pl warning:

WARNING: Missing a blank line after declarations
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 214c043f
...@@ -161,11 +161,10 @@ static int pci1723_ao_write_winsn(struct comedi_device *dev, ...@@ -161,11 +161,10 @@ static int pci1723_ao_write_winsn(struct comedi_device *dev,
struct comedi_insn *insn, unsigned int *data) struct comedi_insn *insn, unsigned int *data)
{ {
struct pci1723_private *devpriv = dev->private; struct pci1723_private *devpriv = dev->private;
int n, chan; unsigned int chan = CR_CHAN(insn->chanspec);
chan = CR_CHAN(insn->chanspec); int n;
for (n = 0; n < insn->n; n++) { for (n = 0; n < insn->n; n++) {
devpriv->ao_data[chan] = data[n]; devpriv->ao_data[chan] = data[n];
outw(data[n], dev->iobase + PCI1723_DA(chan)); outw(data[n], dev->iobase + PCI1723_DA(chan));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment