Re: [1/2] powerpc: make use of for_each_node_by_name() instead of open-coding it

2017-12-12 Thread Michael Ellerman
On Wed, 2017-02-01 at 01:54:37 UTC, Dmitry Torokhov wrote: > 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: Dmitry Torokhov Applied to powerpc next, thanks. https://git.kernel.org

Re: [PATCH 1/2] powerpc: make use of for_each_node_by_name() instead of open-coding it

2017-01-31 Thread Dmitry Torokhov
On Tue, Jan 31, 2017 at 05:54:37PM -0800, Dmitry Torokhov wrote: > 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: Dmitry Torokhov > --- > arch/powerpc/platforms/83xx/mpc832x_mds.c

[PATCH 1/2] powerpc: make use of for_each_node_by_name() instead of open-coding it

2017-01-31 Thread Dmitry Torokhov
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: Dmitry Torokhov --- arch/powerpc/platforms/83xx/mpc832x_mds.c | 2 +- arch/powerpc/platforms/83xx/mpc832x_rdb.c | 2 +- arch/powerpc/platfo