Changed dev_err() call to use function name constant instead of hardcoded
string. Issue found by checkpatch.

Signed-off-by: Bryan Garza <b...@riseup.net>
---
 drivers/staging/comedi/comedi_fops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/comedi_fops.c 
b/drivers/staging/comedi/comedi_fops.c
index 34ca7823255d..e19e395b0e44 100644
--- a/drivers/staging/comedi/comedi_fops.c
+++ b/drivers/staging/comedi/comedi_fops.c
@@ -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;
        }
 }
--
2.14.1

Reply via email to