staging: comedi: s626: convert a printk()

Convert a printk() to a dev_err().

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ian Abbott 2013-10-08 19:06:18 +01:00 committed by Greg Kroah-Hartman
parent 8ee5261141
commit 730b8e1557
1 changed files with 2 additions and 2 deletions

View File

@ -1392,8 +1392,8 @@ static int s626_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
int tick;
if (devpriv->ai_cmd_running) {
printk(KERN_ERR "s626_ai_cmd: Another ai_cmd is running %d\n",
dev->minor);
dev_err(dev->class_dev,
"s626_ai_cmd: Another ai_cmd is running\n");
return -EBUSY;
}
/* disable interrupt */