forked from Minki/linux
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>
This commit is contained in:
parent
d67107fe91
commit
47266aaf35
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user