diff options
author | Joe Perches <joe@perches.com> | 2014-10-31 20:51:51 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2014-11-18 10:36:41 -0500 |
commit | a7ca2bcf2d2ef15c343a12f2a4c2e06380a0f495 (patch) | |
tree | 69a469d83d4f6cddfc2ec346761128d592f2e1d5 /arch/arm/mach-davinci/board-neuros-osd2.c | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
ARM: davinci: Use standard logging styles
Convert printks to pr_<level> and pr_warning to pr_warn.
Other miscellanea:
o Coalesce formats
o Realign arguments
o Use %s, __func__ instead of embedded function names
o Add pr_fmt to mityomapl138 and mux
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-neuros-osd2.c')
-rw-r--r-- | arch/arm/mach-davinci/board-neuros-osd2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/board-neuros-osd2.c b/arch/arm/mach-davinci/board-neuros-osd2.c index bb680af98374..8fcdcf87c47c 100644 --- a/arch/arm/mach-davinci/board-neuros-osd2.c +++ b/arch/arm/mach-davinci/board-neuros-osd2.c | |||
@@ -183,9 +183,8 @@ static __init void davinci_ntosd2_init(void) | |||
183 | 183 | ||
184 | if (HAS_ATA) { | 184 | if (HAS_ATA) { |
185 | if (HAS_NAND) | 185 | if (HAS_NAND) |
186 | pr_warning("WARNING: both IDE and Flash are " | 186 | pr_warn("WARNING: both IDE and Flash are enabled, but they share AEMIF pins\n" |
187 | "enabled, but they share AEMIF pins.\n" | 187 | "\tDisable IDE for NAND/NOR support\n"); |
188 | "\tDisable IDE for NAND/NOR support.\n"); | ||
189 | davinci_init_ide(); | 188 | davinci_init_ide(); |
190 | } else if (HAS_NAND) { | 189 | } else if (HAS_NAND) { |
191 | davinci_cfg_reg(DM644X_HPIEN_DISABLE); | 190 | davinci_cfg_reg(DM644X_HPIEN_DISABLE); |