diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-11-26 18:42:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-03 12:20:21 -0500 |
commit | e0bee2de37da868c858891dd1c5e2fd93ec15297 (patch) | |
tree | 2dad3984d208013779557dd28feb84e146247711 | |
parent | 01112bf1efdec5ee63a8ee31c5b4c6b0331e83f0 (diff) |
staging: comedi: dt282x: convert dt282x_ai_dma_interrupt() messages
Convert the messages in this function to dev_{level}().
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>
-rw-r--r-- | drivers/staging/comedi/drivers/dt282x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/dt282x.c b/drivers/staging/comedi/drivers/dt282x.c index 822ce0259b03..c8df18ae4084 100644 --- a/drivers/staging/comedi/drivers/dt282x.c +++ b/drivers/staging/comedi/drivers/dt282x.c | |||
@@ -348,7 +348,7 @@ static void dt282x_ai_dma_interrupt(struct comedi_device *dev) | |||
348 | outw(devpriv->supcsr | DT2821_CLRDMADNE, dev->iobase + DT2821_SUPCSR); | 348 | outw(devpriv->supcsr | DT2821_CLRDMADNE, dev->iobase + DT2821_SUPCSR); |
349 | 349 | ||
350 | if (!s->async->prealloc_buf) { | 350 | if (!s->async->prealloc_buf) { |
351 | printk(KERN_ERR "async->data disappeared. dang!\n"); | 351 | dev_err(dev->class_dev, "no buffer in %s\n", __func__); |
352 | return; | 352 | return; |
353 | } | 353 | } |
354 | 354 | ||
@@ -369,7 +369,7 @@ static void dt282x_ai_dma_interrupt(struct comedi_device *dev) | |||
369 | devpriv->nread -= size / 2; | 369 | devpriv->nread -= size / 2; |
370 | 370 | ||
371 | if (devpriv->nread < 0) { | 371 | if (devpriv->nread < 0) { |
372 | printk(KERN_INFO "dt282x: off by one\n"); | 372 | dev_info(dev->class_dev, "nread off by one\n"); |
373 | devpriv->nread = 0; | 373 | devpriv->nread = 0; |
374 | } | 374 | } |
375 | if (!devpriv->nread) { | 375 | if (!devpriv->nread) { |