Commit a4869826 authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman

staging: comedi: amplc_pci230: don't use multiple blank lines

Fix checkpatch issues: "CHECK: Please don't use multiple blank lines".
Signed-off-by: default avatarIan Abbott <abbotti@mev.co.uk>
Reviewed-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cc0f88e9
...@@ -864,7 +864,6 @@ static int pci230_ai_rinsn(struct comedi_device *dev, ...@@ -864,7 +864,6 @@ static int pci230_ai_rinsn(struct comedi_device *dev,
else else
adccon |= PCI230_ADC_IR_UNI; adccon |= PCI230_ADC_IR_UNI;
/* /*
* Enable only this channel in the scan list - otherwise by default * Enable only this channel in the scan list - otherwise by default
* we'll get one sample from each channel. * we'll get one sample from each channel.
...@@ -2295,7 +2294,6 @@ static int pci230_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) ...@@ -2295,7 +2294,6 @@ static int pci230_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
if (!get_resources(dev, res_mask, OWNER_AICMD)) if (!get_resources(dev, res_mask, OWNER_AICMD))
return -EBUSY; return -EBUSY;
/* Get number of scans required. */ /* Get number of scans required. */
if (cmd->stop_src == TRIG_COUNT) if (cmd->stop_src == TRIG_COUNT)
devpriv->ai_scan_count = cmd->stop_arg; devpriv->ai_scan_count = cmd->stop_arg;
...@@ -2487,7 +2485,6 @@ static irqreturn_t pci230_interrupt(int irq, void *d) ...@@ -2487,7 +2485,6 @@ static irqreturn_t pci230_interrupt(int irq, void *d)
if (status_int == PCI230_INT_DISABLE) if (status_int == PCI230_INT_DISABLE)
return IRQ_NONE; return IRQ_NONE;
spin_lock_irqsave(&devpriv->isr_spinlock, irqflags); spin_lock_irqsave(&devpriv->isr_spinlock, irqflags);
valid_status_int = devpriv->int_en & status_int; valid_status_int = devpriv->int_en & status_int;
/* /*
......
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