diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2014-03-13 14:16:32 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 14:19:51 -0700 |
commit | 47266aaf35c6b83a885f99f5d6b302ef221d5013 (patch) | |
tree | df12e64d44572d0d446d02451ae7bd7c63dfc9c6 /drivers/staging/comedi | |
parent | d67107fe9190c89de2971584ded0ca3c67190259 (diff) | |
download | op-kernel-dev-47266aaf35c6b83a885f99f5d6b302ef221d5013.zip op-kernel-dev-47266aaf35c6b83a885f99f5d6b302ef221d5013.tar.gz |
staging: comedi: gsc_hpdi: convert comedi_error() messages to dev_err()
For aesthetics, convert the comedi_error() messages to dev_err().
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>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r-- | drivers/staging/comedi/drivers/gsc_hpdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/gsc_hpdi.c b/drivers/staging/comedi/drivers/gsc_hpdi.c index 2db02b4..950516b 100644 --- a/drivers/staging/comedi/drivers/gsc_hpdi.c +++ b/drivers/staging/comedi/drivers/gsc_hpdi.c @@ -263,12 +263,12 @@ static irqreturn_t gsc_hpdi_interrupt(int irq, void *d) } if (hpdi_board_status & RX_OVERRUN_BIT) { - comedi_error(dev, "rx fifo overrun"); + dev_err(dev->class_dev, "rx fifo overrun\n"); async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR; } if (hpdi_board_status & RX_UNDERRUN_BIT) { - comedi_error(dev, "rx fifo underrun"); + dev_err(dev->class_dev, "rx fifo underrun\n"); async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR; } |