aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorHartley Sweeten <hartleys@visionengravers.com>2010-01-11 12:30:41 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-01-12 07:38:32 -0500
commit99acbb90c2440155d6b978e654ea875c8282d67b (patch)
treef25f3e7fde56d45243d4e1455e48dcd573dc30cf /arch/arm
parent74d2e4f8d79ae0c4b6ec027958d5b18058662eea (diff)
ARM: 5875/1: ep93xx: use pr_fmt in clock.c
Use pr_fmt to prefix kernel output with the module name and change all printk messages to pr_<level> format. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Ryan Mallon <ryan@bluewatersys.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-ep93xx/clock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-ep93xx/clock.c b/arch/arm/mach-ep93xx/clock.c
index 1d0f9d8aff2e..07a58d03ae8c 100644
--- a/arch/arm/mach-ep93xx/clock.c
+++ b/arch/arm/mach-ep93xx/clock.c
@@ -10,6 +10,8 @@
10 * your option) any later version. 10 * your option) any later version.
11 */ 11 */
12 12
13#define pr_fmt(fmt) "ep93xx " KBUILD_MODNAME ": " fmt
14
13#include <linux/kernel.h> 15#include <linux/kernel.h>
14#include <linux/clk.h> 16#include <linux/clk.h>
15#include <linux/err.h> 17#include <linux/err.h>
@@ -468,9 +470,9 @@ static int __init ep93xx_clock_init(void)
468 } 470 }
469 clk_usb_host.rate = clk_pll2.rate / (((value >> 28) & 0xf) + 1); 471 clk_usb_host.rate = clk_pll2.rate / (((value >> 28) & 0xf) + 1);
470 472
471 printk(KERN_INFO "ep93xx: PLL1 running at %ld MHz, PLL2 at %ld MHz\n", 473 pr_info("PLL1 running at %ld MHz, PLL2 at %ld MHz\n",
472 clk_pll1.rate / 1000000, clk_pll2.rate / 1000000); 474 clk_pll1.rate / 1000000, clk_pll2.rate / 1000000);
473 printk(KERN_INFO "ep93xx: FCLK %ld MHz, HCLK %ld MHz, PCLK %ld MHz\n", 475 pr_info("FCLK %ld MHz, HCLK %ld MHz, PCLK %ld MHz\n",
474 clk_f.rate / 1000000, clk_h.rate / 1000000, 476 clk_f.rate / 1000000, clk_h.rate / 1000000,
475 clk_p.rate / 1000000); 477 clk_p.rate / 1000000);
476 478