linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/6] ARM: smp_twd: don't warn on no DT node
Date: Fri, 26 Oct 2012 13:43:06 -0500	[thread overview]
Message-ID: <1351276988-28382-5-git-send-email-robherring2@gmail.com> (raw)
In-Reply-To: <1351276988-28382-1-git-send-email-robherring2@gmail.com>

From: Rob Herring <rob.herring@calxeda.com>

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>
---
 arch/arm/kernel/smp_twd.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c
index e1f9069..e52e80a 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)
 	int err;
 
 	np = of_find_matching_node(NULL, twd_of_match);
-	if (!np) {
-		err = -ENODEV;
-		goto out;
-	}
+	if (!np)
+		return -ENODEV;
 
 	twd_ppi = irq_of_parse_and_map(np, 0);
 	if (!twd_ppi) {
-- 
1.7.10.4

  parent reply	other threads:[~2012-10-26 18:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-26 18:43 [PATCH 0/6] Initial Calxeda ECX-2000 support Rob Herring
2012-10-26 18:43 ` [PATCH 1/6] ARM: highbank: disable unused sdhci and gpio in dts Rob Herring
2012-10-26 18:43 ` [PATCH 2/6] ARM: highbank: enable coherent DMA for xgmac " Rob Herring
2012-10-26 18:43 ` [PATCH 3/6] ARM: dts: Add Calxeda ECX-2000 support Rob Herring
2012-10-26 18:43 ` Rob Herring [this message]
2012-10-26 18:43 ` [PATCH 5/6] ARM: highbank: abstract out SCU usage Rob Herring
2012-10-26 18:43 ` [PATCH 6/6] ARM: highbank: Add initial ECX-2000 support Rob Herring
2012-10-26 19:32 ` [PATCH 0/6] Initial Calxeda " Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351276988-28382-5-git-send-email-robherring2@gmail.com \
    --to=robherring2@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).