aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp_twd.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-10-25 14:53:09 -0400
committerRob Herring <rob.herring@calxeda.com>2012-10-31 14:46:30 -0400
commit0336517b38c5fd643784eeee8f0d73efd48e3361 (patch)
treed862c3374aa93f2f80edea0058e7b7dbd12ed8b8 /arch/arm/kernel/smp_twd.c
parent7d6ab9b8620bbca6718b36242113f4f069840641 (diff)
ARM: smp_twd: don't warn on no DT node
Not having a TWD is valid if we have multiple platforms with different cores, so remove the warning message. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/kernel/smp_twd.c')
-rw-r--r--arch/arm/kernel/smp_twd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c
index b22d700fea27..6ec73f91a1d6 100644
--- a/arch/arm/kernel/smp_twd.c
+++ b/arch/arm/kernel/smp_twd.c
@@ -366,10 +366,8 @@ void __init twd_local_timer_of_register(void)
366 int err; 366 int err;
367 367
368 np = of_find_matching_node(NULL, twd_of_match); 368 np = of_find_matching_node(NULL, twd_of_match);
369 if (!np) { 369 if (!np)
370 err = -ENODEV; 370 return -ENODEV;
371 goto out;
372 }
373 371
374 twd_ppi = irq_of_parse_and_map(np, 0); 372 twd_ppi = irq_of_parse_and_map(np, 0);
375 if (!twd_ppi) { 373 if (!twd_ppi) {