From: H Hartley Sweeten Date: Thu, 24 Jul 2014 17:15:05 +0000 (-0700) Subject: staging: comedi: ni_tio: convert printk to pr_err X-Git-Tag: firefly_0821_release~176^2~3491^2~230 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0748e36265f7a8908c91740a2f538e8dffee3bbc;p=firefly-linux-kernel-4.4.55.git staging: comedi: ni_tio: convert printk to pr_err Convert the printk(KERN_ERR ...) in ni_m_clk_src() to a pr_err(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_tio.c b/drivers/staging/comedi/drivers/ni_tio.c index 036748299bf6..f9f632014511 100644 --- a/drivers/staging/comedi/drivers/ni_tio.c +++ b/drivers/staging/comedi/drivers/ni_tio.c @@ -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;