Skip to content

Commit

Permalink
clocksource: scx200_hrt: use pr_<level> instead of printk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jim Cromie authored and John Stultz committed Feb 2, 2012
1 parent 36f21f1 commit d976f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/clocksource/scx200_hrt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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);
Expand Down

0 comments on commit d976f76

Please sign in to comment.