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);
|
udelay(1000);
|
||||||
}
|
}
|
||||||
if (i == timeout) {
|
if (i == timeout) {
|
||||||
printk
|
dev_err(dev->class_dev,
|
||||||
(" timed out waiting for offset calibration to complete\n");
|
"timed out waiting for offset calibration to complete\n");
|
||||||
return -ETIME;
|
return -ETIME;
|
||||||
}
|
}
|
||||||
devpriv->config_bits |= ENABLE0_BIT | ENABLE1_BIT;
|
devpriv->config_bits |= ENABLE0_BIT | ENABLE1_BIT;
|
||||||
|
Loading…
Reference in New Issue
Block a user