diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2009-06-17 14:30:31 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-06-17 09:24:10 +0200 |
commit | e7c5a4f292e0d1f4ba9a3a94b2c8e8b71e35b25a (patch) | |
tree | decc2da80adc86210a9bddc271c7ab3d5b897805 /arch/powerpc/platforms/512x | |
parent | powerpc/5xxx: Add common mpc5xxx_get_bus_frequency() function (diff) | |
download | linux-e7c5a4f292e0d1f4ba9a3a94b2c8e8b71e35b25a.tar.xz linux-e7c5a4f292e0d1f4ba9a3a94b2c8e8b71e35b25a.zip |
powerpc/5121: make clock debug output more readable
This patch refactors clock.c by replacing printk calls with
pr_info/pr_cont, and uses '=' in output to connect key/value pairs
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/platforms/512x')
-rw-r--r-- | arch/powerpc/platforms/512x/clock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/512x/clock.c b/arch/powerpc/platforms/512x/clock.c index f4c4c6f807d7..84544d072043 100644 --- a/arch/powerpc/platforms/512x/clock.c +++ b/arch/powerpc/platforms/512x/clock.c @@ -83,13 +83,13 @@ static void dump_clocks(void) mutex_lock(&clocks_mutex); printk(KERN_INFO "CLOCKS:\n"); list_for_each_entry(p, &clocks, node) { - printk(KERN_INFO " %s %ld", p->name, p->rate); + pr_info(" %s=%ld", p->name, p->rate); if (p->parent) - printk(KERN_INFO " %s %ld", p->parent->name, + pr_cont(" %s=%ld", p->parent->name, p->parent->rate); if (p->flags & CLK_HAS_CTRL) - printk(KERN_INFO " reg/bit %d/%d", p->reg, p->bit); - printk("\n"); + pr_cont(" reg/bit=%d/%d", p->reg, p->bit); + pr_cont("\n"); } mutex_unlock(&clocks_mutex); } |