summaryrefslogtreecommitdiffstats
path: root/arch/mips/ralink/of.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-09-18 16:05:26 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-10-29 21:24:19 +0100
commitf7777dcc7550531ae551f544bdc391c65d0e1731 (patch)
treeab95758874c5d534f95ec0814760a7805ba6d175 /arch/mips/ralink/of.c
parent761845f0f68cf6eba9cad0a58d977b89f8d4486f (diff)
downloadlinux-f7777dcc7550531ae551f544bdc391c65d0e1731.tar.gz
linux-f7777dcc7550531ae551f544bdc391c65d0e1731.tar.bz2
linux-f7777dcc7550531ae551f544bdc391c65d0e1731.zip
MIPS: Panic messages should not end in \n.
Panic() is going to add a \n itself and it's annoying if a panic message rolls of the screen on a device with no scrollback. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ralink/of.c')
-rw-r--r--arch/mips/ralink/of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c
index ce38d11f9da5..15f21ea96121 100644
--- a/arch/mips/ralink/of.c
+++ b/arch/mips/ralink/of.c
@@ -108,7 +108,7 @@ static int __init plat_of_setup(void)
strncpy(of_ids[1].compatible, "palmbus", len);
if (of_platform_populate(NULL, of_ids, NULL, NULL))
- panic("failed to populate DT\n");
+ panic("failed to populate DT");
/* make sure ithat the reset controller is setup early */
ralink_rst_init();