projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a35243
)
powerpc/83xx: use for_each_node_by_name for km83xx.c
author
Holger Brunck
<holger.brunck@keymile.com>
Tue, 8 May 2012 13:57:19 +0000
(15:57 +0200)
committer
Kumar Gala
<galak@kernel.crashing.org>
Tue, 10 Jul 2012 12:07:20 +0000
(07:07 -0500)
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Heiko Schocher <hs@denx.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/83xx/km83xx.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/83xx/km83xx.c
b/arch/powerpc/platforms/83xx/km83xx.c
index a266ba8768639b8f05196fe831968ad12f8e1c61..e827c6cc2feaec955dc4181b7f490220a842c1bb 100644
(file)
--- 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);
}