staging: comedi: amplc_pci230: blank lines aren't necessary before a close brace '}'
Fix checkpatch issues: "CHECK: Blank lines aren't necessary before a close brace '}'". Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c8e8b7a155
commit
16de83f53a
1 changed files with 0 additions and 4 deletions
|
@ -739,7 +739,6 @@ static void put_resources(struct comedi_device *dev, unsigned int res_mask,
|
||||||
res_mask &= ~b;
|
res_mask &= ~b;
|
||||||
if (devpriv->res_owner[i] == owner)
|
if (devpriv->res_owner[i] == owner)
|
||||||
devpriv->res_owner[i] = OWNER_NONE;
|
devpriv->res_owner[i] = OWNER_NONE;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
spin_unlock_irqrestore(&devpriv->res_spinlock, irqflags);
|
spin_unlock_irqrestore(&devpriv->res_spinlock, irqflags);
|
||||||
|
@ -792,7 +791,6 @@ static unsigned int pci230_choose_clk_count(uint64_t ns, unsigned int *count,
|
||||||
cnt = divide_ns(ns, pci230_timebase[clk_src], flags);
|
cnt = divide_ns(ns, pci230_timebase[clk_src], flags);
|
||||||
if ((cnt <= 65536) || (clk_src == CLK_1KHZ))
|
if ((cnt <= 65536) || (clk_src == CLK_1KHZ))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
*count = cnt;
|
*count = cnt;
|
||||||
return clk_src;
|
return clk_src;
|
||||||
|
@ -1448,7 +1446,6 @@ static void pci230_ao_start(struct comedi_device *dev,
|
||||||
& ~PCI230P2_DAC_TRIG_MASK) |
|
& ~PCI230P2_DAC_TRIG_MASK) |
|
||||||
scantrig;
|
scantrig;
|
||||||
outw(devpriv->daccon, dev->iobase + PCI230_DACCON);
|
outw(devpriv->daccon, dev->iobase + PCI230_DACCON);
|
||||||
|
|
||||||
}
|
}
|
||||||
switch (cmd->scan_begin_src) {
|
switch (cmd->scan_begin_src) {
|
||||||
case TRIG_TIMER:
|
case TRIG_TIMER:
|
||||||
|
@ -1512,7 +1509,6 @@ static int pci230_ao_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
|
||||||
/* Claim Z2-CT1. */
|
/* Claim Z2-CT1. */
|
||||||
if (!get_one_resource(dev, RES_Z2CT1, OWNER_AOCMD))
|
if (!get_one_resource(dev, RES_Z2CT1, OWNER_AOCMD))
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get number of scans required. */
|
/* Get number of scans required. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue