staging: comedi: pcmmio: convert a KERN_DEBUG message to dev_dbg()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Nov 2013 17:21:26 +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/pcmmio.c

index 6da836e8caf1945eb73a85d3d402b61ceac60ef8..063496d6c00ef003cc83f9149ece2d9461f8446b 100644 (file)
@@ -476,9 +476,9 @@ static irqreturn_t interrupt_pcmmio(int irq, void *d)
                                 * TODO here: dispatch io lines to subdevs
                                 * with commands..
                                 */
-                               printk
-                                   (KERN_DEBUG "got edge detect interrupt %d asic %d which_chans: %06x\n",
-                                    irq, asic, triggered);
+                               dev_dbg(dev->class_dev,
+                                       "got edge detect interrupt %d asic %d which_chans: %06x\n",
+                                       irq, asic, triggered);
                                for (i = 2; i < dev->n_subdevices; i++) {
                                        s = &dev->subdevices[i];
                                        /*