diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-10-28 07:26:42 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-11-21 10:24:50 -0500 |
commit | 4ed89f2228061422ce5f62545fd0b6f6648bd2cc (patch) | |
tree | 0f37768acf995006a4299d80122a3f924e5c5763 /arch/arm/kernel/smp_twd.c | |
parent | c2459d35f5b8de077fde859b8c96a23f309b9ab2 (diff) |
ARM: convert printk(KERN_* to pr_*
Convert many (but not all) printk(KERN_* to pr_* to simplify the code.
We take the opportunity to join some printk lines together so we don't
split the message across several lines, and we also add a few levels
to some messages which were previously missing them.
Tested-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/smp_twd.c')
-rw-r--r-- | arch/arm/kernel/smp_twd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c index 93090213c71c..172c6a05d27f 100644 --- a/arch/arm/kernel/smp_twd.c +++ b/arch/arm/kernel/smp_twd.c | |||
@@ -199,7 +199,7 @@ static void twd_calibrate_rate(void) | |||
199 | * the timer ticks | 199 | * the timer ticks |
200 | */ | 200 | */ |
201 | if (twd_timer_rate == 0) { | 201 | if (twd_timer_rate == 0) { |
202 | printk(KERN_INFO "Calibrating local timer... "); | 202 | pr_info("Calibrating local timer... "); |
203 | 203 | ||
204 | /* Wait for a tick to start */ | 204 | /* Wait for a tick to start */ |
205 | waitjiffies = get_jiffies_64() + 1; | 205 | waitjiffies = get_jiffies_64() + 1; |
@@ -223,7 +223,7 @@ static void twd_calibrate_rate(void) | |||
223 | 223 | ||
224 | twd_timer_rate = (0xFFFFFFFFU - count) * (HZ / 5); | 224 | twd_timer_rate = (0xFFFFFFFFU - count) * (HZ / 5); |
225 | 225 | ||
226 | printk("%lu.%02luMHz.\n", twd_timer_rate / 1000000, | 226 | pr_cont("%lu.%02luMHz.\n", twd_timer_rate / 1000000, |
227 | (twd_timer_rate / 10000) % 100); | 227 | (twd_timer_rate / 10000) % 100); |
228 | } | 228 | } |
229 | } | 229 | } |