mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
staging: comedi: Use '"%s:", __func__' instead of function name
Replace an occurrence of the function name in a string by a reference to __func__, to improve robustness. Problem found with checkpatch. Signed-off-by: Eisha Chen-yen-su <chenyensu0@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c4ac540793
commit
c318bb0835
1 changed files with 1 additions and 1 deletions
|
@ -1700,7 +1700,7 @@ static int s626_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
|
||||||
|
|
||||||
if (devpriv->ai_cmd_running) {
|
if (devpriv->ai_cmd_running) {
|
||||||
dev_err(dev->class_dev,
|
dev_err(dev->class_dev,
|
||||||
"s626_ai_cmd: Another ai_cmd is running\n");
|
"%s: Another ai_cmd is running\n", __func__);
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
}
|
}
|
||||||
/* disable interrupt */
|
/* disable interrupt */
|
||||||
|
|
Loading…
Reference in a new issue