]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: dmm32at: remove commented out printk debug
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Nov 2013 23:41:45 +0000 (16:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 17:20:20 +0000 (09:20 -0800)
These printk messages are just added noise. Remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dmm32at.c

index f057d7995bad0da34d76077c7bc97d5b7bfda0fb..6fb8ce1d110cb015b825c27c6bb298846f1271e8 100644 (file)
@@ -182,8 +182,6 @@ static int dmm32at_ai_rinsn(struct comedi_device *dev,
        chan = CR_CHAN(insn->chanspec) & (s->n_chan - 1);
        range = CR_RANGE(insn->chanspec);
 
-       /* printk("channel=0x%02x, range=%d\n",chan,range); */
-
        /* zero scan and fifo control and reset fifo */
        outb(DMM32AT_FIFORESET, dev->iobase + DMM32AT_FIFOCNTRL);
 
@@ -461,8 +459,6 @@ static int dmm32at_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
                outb(0xff, dev->iobase + DMM32AT_CONV);
        }
 
-/*     printk("dmmat32 in command\n"); */
-
 /*     for(i=0;i<cmd->chanlist_len;i++) */
 /*             comedi_buf_put(s->async,i*100); */
 
@@ -550,7 +546,6 @@ static int dmm32at_ao_winsn(struct comedi_device *dev,
                lo = data[i] & 0x00ff;
                /* high byte also contains channel number */
                hi = (data[i] >> 8) + chan * (1 << 6);
-               /* printk("writing 0x%02x  0x%02x\n",hi,lo); */
                /* write the low and high values to the board */
                outb(lo, dev->iobase + DMM32AT_DACLSB);
                outb(hi, dev->iobase + DMM32AT_DACMSB);