From 47266aaf35c6b83a885f99f5d6b302ef221d5013 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Thu, 13 Mar 2014 14:16:32 -0700 Subject: 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/gsc_hpdi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers') diff --git a/drivers/staging/comedi/drivers/gsc_hpdi.c b/drivers/staging/comedi/drivers/gsc_hpdi.c index 2db02b435dfe..950516bbb664 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; } -- cgit v1.2.3