staging: comedi: dt2801: remove use of DPRINTK
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 22 Nov 2013 17:47:20 +0000 (10:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2013 19:50:54 +0000 (11:50 -0800)
The DPRINTK messages in this driver 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/dt2801.c

index 811c8c59c01761f87ef8a9936cd3b648d8ea3751..1dd8190970e31f531e4c52d3f2bcee90d9fd15f7 100644 (file)
@@ -359,17 +359,12 @@ static int dt2801_reset(struct comedi_device *dev)
        unsigned int stat;
        int timeout;
 
-       DPRINTK("dt2801: resetting board...\n");
-       DPRINTK("fingerprint: 0x%02x 0x%02x\n", inb_p(dev->iobase),
-               inb_p(dev->iobase + 1));
-
        /* pull random data from data port */
        inb_p(dev->iobase + DT2801_DATA);
        inb_p(dev->iobase + DT2801_DATA);
        inb_p(dev->iobase + DT2801_DATA);
        inb_p(dev->iobase + DT2801_DATA);
 
-       DPRINTK("dt2801: stop\n");
        /* dt2801_writecmd(dev,DT_C_STOP); */
        outb_p(DT_C_STOP, dev->iobase + DT2801_CMD);
 
@@ -387,7 +382,6 @@ static int dt2801_reset(struct comedi_device *dev)
        /* printk("dt2801: reading dummy\n"); */
        /* dt2801_readdata(dev,&board_code); */
 
-       DPRINTK("dt2801: reset\n");
        outb_p(DT_C_RESET, dev->iobase + DT2801_CMD);
        /* dt2801_writecmd(dev,DT_C_RESET); */
 
@@ -401,11 +395,8 @@ static int dt2801_reset(struct comedi_device *dev)
        if (!timeout)
                printk("dt2801: timeout 2 status=0x%02x\n", stat);
 
-       DPRINTK("dt2801: reading code\n");
        dt2801_readdata(dev, &board_code);
 
-       DPRINTK("dt2801: ok.  code=0x%02x\n", board_code);
-
        return board_code;
 }