1
0
Fork 0

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: Bryan Garza <bry@riseup.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Bryan Garza 2017-08-23 22:37:00 +00:00 committed by Greg Kroah-Hartman
parent 737aed947f
commit e4f857f739
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ static void do_become_nonbusy(struct comedi_device *dev,
wake_up_interruptible_all(&async->wait_head);
} else {
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;
}
}