From: H Hartley Sweeten Date: Thu, 13 Mar 2014 21:16:32 +0000 (-0700) Subject: staging: comedi: gsc_hpdi: convert comedi_error() messages to dev_err() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=47266aaf35c6b83a885f99f5d6b302ef221d5013;p=linux-beck.git 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 --- 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; }