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

staging: comedi: dt282x: convert dt282x_ai_dma_interrupt() messages

Convert the messages in this function to dev_{level}().
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 01112bf1
...@@ -348,7 +348,7 @@ static void dt282x_ai_dma_interrupt(struct comedi_device *dev) ...@@ -348,7 +348,7 @@ static void dt282x_ai_dma_interrupt(struct comedi_device *dev)
outw(devpriv->supcsr | DT2821_CLRDMADNE, dev->iobase + DT2821_SUPCSR); outw(devpriv->supcsr | DT2821_CLRDMADNE, dev->iobase + DT2821_SUPCSR);
if (!s->async->prealloc_buf) { if (!s->async->prealloc_buf) {
printk(KERN_ERR "async->data disappeared. dang!\n"); dev_err(dev->class_dev, "no buffer in %s\n", __func__);
return; return;
} }
...@@ -369,7 +369,7 @@ static void dt282x_ai_dma_interrupt(struct comedi_device *dev) ...@@ -369,7 +369,7 @@ static void dt282x_ai_dma_interrupt(struct comedi_device *dev)
devpriv->nread -= size / 2; devpriv->nread -= size / 2;
if (devpriv->nread < 0) { if (devpriv->nread < 0) {
printk(KERN_INFO "dt282x: off by one\n"); dev_info(dev->class_dev, "nread off by one\n");
devpriv->nread = 0; devpriv->nread = 0;
} }
if (!devpriv->nread) { if (!devpriv->nread) {
......
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