staging: comedi: dyna_pci10xx: convert a KERN_DEBUG message to dev_dbg()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Nov 2013 17:21:25 +0000 (10:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Nov 2013 17:55:16 +0000 (09:55 -0800)
Convert a printk(KERN_DEBUG ... message to dev_dbg().

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dyna_pci10xx.c

index f2a9f1c..9b1f196 100644 (file)
@@ -90,8 +90,7 @@ static int dyna_pci10xx_insn_read_ai(struct comedi_device *dev,
                                goto conv_finish;
                }
                data[n] = 0;
-               printk(KERN_DEBUG "comedi: dyna_pci10xx: "
-                       "timeout reading analog input\n");
+               dev_dbg(dev->class_dev, "timeout reading analog input\n");
                continue;
 conv_finish:
                /* mask the first 4 bits - EOC bits */