Commit f7854e72 authored by Holger Brunck's avatar Holger Brunck Committed by Kumar Gala

powerpc/83xx: use for_each_node_by_name for km83xx.c

Signed-off-by: default avatarHolger Brunck <holger.brunck@keymile.com>
cc: Heiko Schocher <hs@denx.de>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 4a352433
...@@ -70,7 +70,7 @@ static void __init mpc83xx_km_setup_arch(void) ...@@ -70,7 +70,7 @@ static void __init mpc83xx_km_setup_arch(void)
for_each_node_by_name(np, "spi") for_each_node_by_name(np, "spi")
par_io_of_config(np); 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); par_io_of_config(np);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment