staging: comedi: ni_tio: convert printk to pr_err
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 24 Jul 2014 17:15:05 +0000 (10:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:16:49 +0000 (11:16 -0700)
Convert the printk(KERN_ERR ...) in ni_m_clk_src() to a pr_err().

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/ni_tio.c

index 036748299bf6468d2ed40b28ce20fb2b5307256e..f9f632014511ba680f4380527260b0661ce0ec27 100644 (file)
@@ -667,7 +667,7 @@ static unsigned ni_m_clk_src(unsigned int clock_source)
                }
                if (i <= NI_M_MAX_PFI_CHAN)
                        break;
-               printk(KERN_ERR "invalid clock source 0x%lx\n",
+               pr_err("invalid clock source 0x%lx\n",
                       (unsigned long)clock_source);
                BUG();
                ni_m_series_clock = 0;