mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 18:12:25 -04:00
staging: comedi: dmm32at: convert a printk(KERN_ERR to a dev->err()
Convert this printk message to a dev_err() message. 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:
committed by
Greg Kroah-Hartman
parent
0c2e553241
commit
45d351031e
@@ -710,7 +710,7 @@ static int dmm32at_attach(struct comedi_device *dev,
|
||||
|
||||
if ((ailo != 0x00) || (aihi != 0x1f) || (fifostat != 0x80) ||
|
||||
(aistat != 0x60 || (intstat != 0x00) || airback != 0x0c)) {
|
||||
printk(KERN_ERR "dmmat32: board detection failed\n");
|
||||
dev_err(dev->class_dev, "board detection failed\n");
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user