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:
parent
8ee5261141
commit
730b8e1557
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue