staging: comedi: mpc624: convert printk messages in mpc624_ai_rinsn()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Nov 2013 23:42:11 +0000 (16:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 17:20:22 +0000 (09:20 -0800)
There's no reason for these messages to be KERN_INFO. Convert them 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/mpc624.c

index 01b281e..fe4621e 100644 (file)
@@ -238,11 +238,11 @@ static int mpc624_ai_rinsn(struct comedi_device *dev,
                 */
 
                if (data_in & MPC624_EOC_BIT)
-                       printk(KERN_INFO "MPC624:EOC bit is set (data_in=%lu)!",
-                              data_in);
+                       dev_dbg(dev->class_dev,
+                               "EOC bit is set (data_in=%lu)!", data_in);
                if (data_in & MPC624_DMY_BIT)
-                       printk(KERN_INFO "MPC624:DMY bit is set (data_in=%lu)!",
-                              data_in);
+                       dev_dbg(dev->class_dev,
+                               "DMY bit is set (data_in=%lu)!", data_in);
                if (data_in & MPC624_SGN_BIT) { /* Volatge is positive */
                        /*
                         * comedi operates on unsigned numbers, so mask off EOC