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-dm644x-evm.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-dm644x-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-dm644x-evm.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index e583e58b5e1e..1a0898c1c17e 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c | |||
@@ -767,9 +767,8 @@ static __init void davinci_evm_init(void) | |||
767 | 767 | ||
768 | if (HAS_ATA) { | 768 | if (HAS_ATA) { |
769 | if (HAS_NAND || HAS_NOR) | 769 | if (HAS_NAND || HAS_NOR) |
770 | pr_warning("WARNING: both IDE and Flash are " | 770 | pr_warn("WARNING: both IDE and Flash are enabled, but they share AEMIF pins\n" |
771 | "enabled, but they share AEMIF pins.\n" | 771 | "\tDisable IDE for NAND/NOR support\n"); |
772 | "\tDisable IDE for NAND/NOR support.\n"); | ||
773 | davinci_init_ide(); | 772 | davinci_init_ide(); |
774 | } else if (HAS_NAND || HAS_NOR) { | 773 | } else if (HAS_NAND || HAS_NOR) { |
775 | davinci_cfg_reg(DM644X_HPIEN_DISABLE); | 774 | davinci_cfg_reg(DM644X_HPIEN_DISABLE); |
@@ -780,13 +779,12 @@ static __init void davinci_evm_init(void) | |||
780 | platform_device_register(&davinci_evm_nandflash_device); | 779 | platform_device_register(&davinci_evm_nandflash_device); |
781 | 780 | ||
782 | if (davinci_aemif_setup(&davinci_evm_nandflash_device)) | 781 | if (davinci_aemif_setup(&davinci_evm_nandflash_device)) |
783 | pr_warn("%s: Cannot configure AEMIF.\n", | 782 | pr_warn("%s: Cannot configure AEMIF\n", |
784 | __func__); | 783 | __func__); |
785 | 784 | ||
786 | evm_leds[7].default_trigger = "nand-disk"; | 785 | evm_leds[7].default_trigger = "nand-disk"; |
787 | if (HAS_NOR) | 786 | if (HAS_NOR) |
788 | pr_warning("WARNING: both NAND and NOR flash " | 787 | pr_warn("WARNING: both NAND and NOR flash are enabled; disable one of them.\n"); |
789 | "are enabled; disable one of them.\n"); | ||
790 | } else if (HAS_NOR) | 788 | } else if (HAS_NOR) |
791 | platform_device_register(&davinci_evm_norflash_device); | 789 | platform_device_register(&davinci_evm_norflash_device); |
792 | } | 790 | } |