Commit 323cd355 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: dt2814: convert a printk(KERN_ERR into a dev_err()

Convert this printk message into a dev_dev().
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 1cb62c86
...@@ -246,7 +246,7 @@ static int dt2814_attach(struct comedi_device *dev, struct comedi_devconfig *it) ...@@ -246,7 +246,7 @@ static int dt2814_attach(struct comedi_device *dev, struct comedi_devconfig *it)
outb(0, dev->iobase + DT2814_CSR); outb(0, dev->iobase + DT2814_CSR);
udelay(100); udelay(100);
if (inb(dev->iobase + DT2814_CSR) & DT2814_ERR) { if (inb(dev->iobase + DT2814_CSR) & DT2814_ERR) {
printk(KERN_ERR "reset error (fatal)\n"); dev_err(dev->class_dev, "reset error (fatal)\n");
return -EIO; return -EIO;
} }
i = inb(dev->iobase + DT2814_DATA); i = inb(dev->iobase + DT2814_DATA);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment