LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Holger Brunck <holger.brunck@keymile.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Heiko Schocher <hs@denx.de>, Holger Brunck <holger.brunck@keymile.com>
Subject: [PATCH 1/4] powerpc/83xx: use for_each_node_by_name for km83xx.c
Date: Tue,  8 May 2012 15:57:19 +0200	[thread overview]
Message-ID: <1336485442-24190-1-git-send-email-holger.brunck@keymile.com> (raw)

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Heiko Schocher <hs@denx.de>
cc: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/platforms/83xx/km83xx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/83xx/km83xx.c b/arch/powerpc/platforms/83xx/km83xx.c
index a266ba8..e827c6c 100644
--- a/arch/powerpc/platforms/83xx/km83xx.c
+++ b/arch/powerpc/platforms/83xx/km83xx.c
@@ -70,7 +70,7 @@ static void __init mpc83xx_km_setup_arch(void)
 		for_each_node_by_name(np, "spi")
 			par_io_of_config(np);
 
-		for (np = NULL; (np = of_find_node_by_name(np, "ucc")) != NULL;)
+		for_each_node_by_name(np, "ucc")
 			par_io_of_config(np);
 	}
 
-- 
1.7.1

             reply	other threads:[~2012-05-08 14:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08 13:57 Holger Brunck [this message]
2012-05-08 13:57 ` [PATCH 2/4] powerpc/83xx: fix RGMII AC values workaround for km83xx Holger Brunck
2012-06-29 20:03   ` Kumar Gala
2012-05-08 13:57 ` [PATCH 3/4] powerpc/83xx: update defconfig for kmeter1 Holger Brunck
2012-06-29 20:03   ` Kumar Gala
2012-05-08 13:57 ` [PATCH 4/4] powerpc/82xx: add SPI support for mgcoge Holger Brunck
2012-06-29 20:03   ` Kumar Gala
2012-06-29 20:03 ` [PATCH 1/4] powerpc/83xx: use for_each_node_by_name for km83xx.c Kumar Gala

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=1336485442-24190-1-git-send-email-holger.brunck@keymile.com \
    --to=holger.brunck@keymile.com \
    --cc=hs@denx.de \
    --cc=linuxppc-dev@lists.ozlabs.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