diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2012-03-26 01:09:43 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-04-22 16:41:34 -0400 |
commit | 5fb00f965eeac548015bcd45414cccbe53b13d3f (patch) | |
tree | 2a0d2b9d82a77f3f521c033b5d7bcef0deea2aca /arch/arm/mach-spear3xx/spear3xx.c | |
parent | a3a4513b692d147d839c7e6d2e3f0d3280a503ce (diff) |
SPEAr3xx: Replace printk() with pr_*()
For better print logs/messages, it is advisable to use pr_*() routines instead
of directly calling printks. This patch removes direct calling of printks for
spear3xx.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Diffstat (limited to 'arch/arm/mach-spear3xx/spear3xx.c')
-rw-r--r-- | arch/arm/mach-spear3xx/spear3xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-spear3xx/spear3xx.c b/arch/arm/mach-spear3xx/spear3xx.c index b1733c37f209..a236925e13b3 100644 --- a/arch/arm/mach-spear3xx/spear3xx.c +++ b/arch/arm/mach-spear3xx/spear3xx.c | |||
@@ -11,6 +11,8 @@ | |||
11 | * warranty of any kind, whether express or implied. | 11 | * warranty of any kind, whether express or implied. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #define pr_fmt(fmt) "SPEAr3xx: " fmt | ||
15 | |||
14 | #include <linux/types.h> | 16 | #include <linux/types.h> |
15 | #include <linux/amba/pl061.h> | 17 | #include <linux/amba/pl061.h> |
16 | #include <linux/ptrace.h> | 18 | #include <linux/ptrace.h> |