Commit e4f857f7 authored by Bryan Garza's avatar Bryan Garza Committed by Greg Kroah-Hartman

Staging: comedi: comedi_fops: fix dev_err() warning style

Changed dev_err() call to use function name constant instead of hardcoded
string. Issue found by checkpatch.
Signed-off-by: default avatarBryan Garza <bry@riseup.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 737aed94
...@@ -745,7 +745,7 @@ static void do_become_nonbusy(struct comedi_device *dev, ...@@ -745,7 +745,7 @@ static void do_become_nonbusy(struct comedi_device *dev,
wake_up_interruptible_all(&async->wait_head); wake_up_interruptible_all(&async->wait_head);
} else { } else {
dev_err(dev->class_dev, dev_err(dev->class_dev,
"BUG: (?) do_become_nonbusy called with async=NULL\n"); "BUG: (?) %s called with async=NULL\n", __func__);
s->busy = NULL; s->busy = NULL;
} }
} }
......
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