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 01b281e83c61c920001c0ab57d500549a86711cb..fe4621ea65c356274561f71e6c834251be9debe4 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