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

staging: comedi: dt2801: remove use of DPRINTK

The DPRINTK messages in this driver are just added noise.
Remove them.
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 2ec38394
......@@ -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;
}
......
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