Skip to content

Commit

Permalink
powerpc/83xx: use for_each_node_by_name for km83xx.c
Browse files Browse the repository at this point in the history
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Heiko Schocher <hs@denx.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Holger Brunck authored and Kumar Gala committed Jul 10, 2012
1 parent 4a35243 commit f7854e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/83xx/km83xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit f7854e7

Please sign in to comment.