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

staging: comedi: pcl816: remove use of DPRINTK

Remove the DPRINTK messages that are just function trace noise.

Use dev_dbg() instead of the DPRINTK macro to output the comedi
debugging information.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2cde476d
...@@ -174,7 +174,6 @@ static int pcl816_ai_insn_read(struct comedi_device *dev, ...@@ -174,7 +174,6 @@ static int pcl816_ai_insn_read(struct comedi_device *dev,
int n; int n;
int timeout; int timeout;
DPRINTK("mode 0 analog input\n");
/* software trigger, DMA and INT off */ /* software trigger, DMA and INT off */
outb(0, dev->iobase + PCL816_CONTROL); outb(0, dev->iobase + PCL816_CONTROL);
/* clear INT (conversion end) flag */ /* clear INT (conversion end) flag */
...@@ -370,8 +369,6 @@ static irqreturn_t interrupt_pcl816(int irq, void *d) ...@@ -370,8 +369,6 @@ static irqreturn_t interrupt_pcl816(int irq, void *d)
struct comedi_device *dev = d; struct comedi_device *dev = d;
struct pcl816_private *devpriv = dev->private; struct pcl816_private *devpriv = dev->private;
DPRINTK("<I>");
if (!dev->attached) { if (!dev->attached) {
comedi_error(dev, "premature interrupt"); comedi_error(dev, "premature interrupt");
return IRQ_HANDLED; return IRQ_HANDLED;
...@@ -608,7 +605,6 @@ static int pcl816_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) ...@@ -608,7 +605,6 @@ static int pcl816_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
break; break;
} }
DPRINTK("pcl816 END: pcl812_ai_cmd()\n");
return 0; return 0;
} }
...@@ -762,8 +758,8 @@ start_pacer(struct comedi_device *dev, int mode, unsigned int divisor1, ...@@ -762,8 +758,8 @@ start_pacer(struct comedi_device *dev, int mode, unsigned int divisor1,
udelay(1); udelay(1);
if (mode == 1) { if (mode == 1) {
DPRINTK("mode %d, divisor1 %d, divisor2 %d\n", mode, divisor1, dev_dbg(dev->class_dev, "mode %d, divisor1 %d, divisor2 %d\n",
divisor2); mode, divisor1, divisor2);
outb(divisor2 & 0xff, dev->iobase + PCL816_CTR2); outb(divisor2 & 0xff, dev->iobase + PCL816_CTR2);
outb((divisor2 >> 8) & 0xff, dev->iobase + PCL816_CTR2); outb((divisor2 >> 8) & 0xff, dev->iobase + PCL816_CTR2);
outb(divisor1 & 0xff, dev->iobase + PCL816_CTR1); outb(divisor1 & 0xff, dev->iobase + PCL816_CTR1);
......
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