mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
clocksource: scx200_hrt: use pr_<level> instead of printk
Switch from printk to using pr_<level>. Signed-off-by: Jim Cromie <jim.cromie@gmail.com> [added commit msg & tweaked subject -jstultz] Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
36f21f1ce4
commit
d976f76266
@ -71,7 +71,7 @@ static int __init init_hrt_clocksource(void)
|
||||
if (!request_region(scx200_cb_base + SCx200_TIMER_OFFSET,
|
||||
SCx200_TIMER_SIZE,
|
||||
"NatSemi SCx200 High-Resolution Timer")) {
|
||||
printk(KERN_WARNING NAME ": unable to lock timer region\n");
|
||||
pr_warn("unable to lock timer region\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@ static int __init init_hrt_clocksource(void)
|
||||
cs_hrt.mult = clocksource_hz2mult(HRT_FREQ + ppm,
|
||||
cs_hrt.shift);
|
||||
}
|
||||
printk(KERN_INFO "enabling scx200 high-res timer (%s MHz +%d ppm)\n",
|
||||
pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n",
|
||||
mhz27 ? "27":"1", ppm);
|
||||
|
||||
return clocksource_register(&cs_hrt);
|
||||
|
Loading…
Reference in New Issue
Block a user