diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2012-01-26 18:52:15 -0500 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2012-02-01 21:37:35 -0500 |
commit | d976f7626627117c211137cd2aaf8c1656e6627d (patch) | |
tree | 887d5e45b4023787a2d989f7788a4980958cb184 /drivers/clocksource/scx200_hrt.c | |
parent | 36f21f1ce419a552227b32d445e40c2d99286275 (diff) |
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>
Diffstat (limited to 'drivers/clocksource/scx200_hrt.c')
-rw-r--r-- | drivers/clocksource/scx200_hrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/scx200_hrt.c b/drivers/clocksource/scx200_hrt.c index 27f4d9637b62..e4e4a04ab23f 100644 --- a/drivers/clocksource/scx200_hrt.c +++ b/drivers/clocksource/scx200_hrt.c | |||
@@ -71,7 +71,7 @@ static int __init init_hrt_clocksource(void) | |||
71 | if (!request_region(scx200_cb_base + SCx200_TIMER_OFFSET, | 71 | if (!request_region(scx200_cb_base + SCx200_TIMER_OFFSET, |
72 | SCx200_TIMER_SIZE, | 72 | SCx200_TIMER_SIZE, |
73 | "NatSemi SCx200 High-Resolution Timer")) { | 73 | "NatSemi SCx200 High-Resolution Timer")) { |
74 | printk(KERN_WARNING NAME ": unable to lock timer region\n"); | 74 | pr_warn("unable to lock timer region\n"); |
75 | return -ENODEV; | 75 | return -ENODEV; |
76 | } | 76 | } |
77 | 77 | ||
@@ -88,7 +88,7 @@ static int __init init_hrt_clocksource(void) | |||
88 | cs_hrt.mult = clocksource_hz2mult(HRT_FREQ + ppm, | 88 | cs_hrt.mult = clocksource_hz2mult(HRT_FREQ + ppm, |
89 | cs_hrt.shift); | 89 | cs_hrt.shift); |
90 | } | 90 | } |
91 | printk(KERN_INFO "enabling scx200 high-res timer (%s MHz +%d ppm)\n", | 91 | pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n", |
92 | mhz27 ? "27":"1", ppm); | 92 | mhz27 ? "27":"1", ppm); |
93 | 93 | ||
94 | return clocksource_register(&cs_hrt); | 94 | return clocksource_register(&cs_hrt); |