The dev_warn() will automatically have the "comedi" prefix.

Signed-off-by: H Hartley Sweeten <hswee...@visionengravers.com>
Cc: Ian Abbott <abbo...@mev.co.uk>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 drivers/staging/comedi/drivers/comedi_fc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/drivers/comedi_fc.c 
b/drivers/staging/comedi/drivers/comedi_fc.c
index 9bf2d4b..157b61c 100644
--- a/drivers/staging/comedi/drivers/comedi_fc.c
+++ b/drivers/staging/comedi/drivers/comedi_fc.c
@@ -47,7 +47,7 @@ unsigned int cfc_write_array_to_buffer(struct 
comedi_subdevice *s,
 
        retval = comedi_buf_write_alloc(async, num_bytes);
        if (retval != num_bytes) {
-               dev_warn(s->device->class_dev, "comedi: buffer overrun\n");
+               dev_warn(s->device->class_dev, "buffer overrun\n");
                async->events |= COMEDI_CB_OVERFLOW;
                return 0;
        }
-- 
1.8.5.2

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to