diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-07-18 20:29:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-18 23:08:01 (GMT) |
commit | bc0640a7957cd5928e93d350cd49009f4774b2fd (patch) | |
tree | c9d8e91690b2aed37160bdf447b4f7eb6369959c | |
parent | b252ebfccf61ccd6bbb04cdfd3ec1c33ea65b5db (diff) | |
download | linux-bc0640a7957cd5928e93d350cd49009f4774b2fd.tar.xz |
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>
-rw-r--r-- | drivers/staging/comedi/drivers/ni_at_a2150.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/ni_at_a2150.c b/drivers/staging/comedi/drivers/ni_at_a2150.c index 86c05e3..c0ac8fd 100644 --- a/drivers/staging/comedi/drivers/ni_at_a2150.c +++ b/drivers/staging/comedi/drivers/ni_at_a2150.c @@ -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; |