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

staging: comedi: ni_at_a2150: convert printk to dev_err

Convert the printk() message to dev_err().
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b252ebfc
...@@ -785,8 +785,8 @@ static int a2150_attach(struct comedi_device *dev, struct comedi_devconfig *it) ...@@ -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;
......
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