Skip to content
Commit 0aa8ff9b authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Michael Ellerman
Browse files

powerpc: Use of for_each_node_by_name() instead of open-coding it



Instead of manually coding the loop with of_find_node_by_name(), let's
switch to the standard macro for iterating over nodes with given name.

Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
[mpe: Fix build failures due to typo in mpc832x_mds.c]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent df262002
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