Skip to content

Commit 47266aa

Browse files
H Hartley Sweetengregkh
authored andcommitted
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>
1 parent d67107f commit 47266aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/staging/comedi/drivers/gsc_hpdi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,12 @@ static irqreturn_t gsc_hpdi_interrupt(int irq, void *d)
263263
}
264264

265265
if (hpdi_board_status & RX_OVERRUN_BIT) {
266-
comedi_error(dev, "rx fifo overrun");
266+
dev_err(dev->class_dev, "rx fifo overrun\n");
267267
async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
268268
}
269269

270270
if (hpdi_board_status & RX_UNDERRUN_BIT) {
271-
comedi_error(dev, "rx fifo underrun");
271+
dev_err(dev->class_dev, "rx fifo underrun\n");
272272
async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
273273
}
274274

0 commit comments

Comments
 (0)