Dmitry Torokhov 9625e69a38 powerpc: make use of for_each_node_by_type() instead of open-coding it
Instead of manually coding the loop with of_find_node_by_type(), let's
switch to the standard macro for iterating over nodes with given type.

Also fixed a couple of refcount leaks in the aforementioned loops.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-01-16 23:47:10 +11:00
..
2017-11-16 12:47:46 -08:00
2016-06-14 13:58:26 +10:00
2017-11-16 12:47:46 -08:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2017-11-16 12:47:46 -08:00
2017-11-10 20:55:03 +11:00
2016-08-07 23:50:09 -04:00
2017-06-27 17:02:50 -07:00
2017-12-11 13:03:35 +11:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00