staging: comedi: ni_at_a2150: convert printk to dev_err
Convert the printk() message to dev_err(). Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b252ebfccf
commit
bc0640a795
@ -785,8 +785,8 @@ static int a2150_attach(struct comedi_device *dev, struct comedi_devconfig *it)
|
||||
udelay(1000);
|
||||
}
|
||||
if (i == timeout) {
|
||||
printk
|
||||
(" timed out waiting for offset calibration to complete\n");
|
||||
dev_err(dev->class_dev,
|
||||
"timed out waiting for offset calibration to complete\n");
|
||||
return -ETIME;
|
||||
}
|
||||
devpriv->config_bits |= ENABLE0_BIT | ENABLE1_BIT;
|
||||
|
Loading…
Reference in New Issue
Block a user