staging: comedi: amplc_pci230: blank lines aren't necessary before a close brace '}'
authorIan Abbott <abbotti@mev.co.uk>
Tue, 29 Jul 2014 11:58:12 +0000 (12:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jul 2014 23:54:03 +0000 (16:54 -0700)
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>
drivers/staging/comedi/drivers/amplc_pci230.c

index 0609e5149405f93788e9ea19693be87e06b82a84..51f28b6a05d91a7ab87455d95dab45f40a499c0f 100644 (file)
@@ -739,7 +739,6 @@ static void put_resources(struct comedi_device *dev, unsigned int res_mask,
                        res_mask &= ~b;
                        if (devpriv->res_owner[i] == owner)
                                devpriv->res_owner[i] = OWNER_NONE;
-
                }
        }
        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);
                if ((cnt <= 65536) || (clk_src == CLK_1KHZ))
                        break;
-
        }
        *count = cnt;
        return clk_src;
@@ -1448,7 +1446,6 @@ static void pci230_ao_start(struct comedi_device *dev,
                                           & ~PCI230P2_DAC_TRIG_MASK) |
                            scantrig;
                        outw(devpriv->daccon, dev->iobase + PCI230_DACCON);
-
                }
                switch (cmd->scan_begin_src) {
                case TRIG_TIMER:
@@ -1512,7 +1509,6 @@ static int pci230_ao_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
                /* Claim Z2-CT1. */
                if (!get_one_resource(dev, RES_Z2CT1, OWNER_AOCMD))
                        return -EBUSY;
-
        }
 
        /* Get number of scans required. */