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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
099286dc30
commit
0748e36265
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue