Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47266aaf authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: gsc_hpdi: convert comedi_error() messages to dev_err()



For aesthetics, convert the comedi_error() messages to dev_err().

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d67107fe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}