2018-01-17 13:30:04

by Michael Ellerman

[permalink] [raw]
Subject: Re: [2/2] powerpc: make use of for_each_node_by_type() instead of open-coding it

On Wed, 2017-02-01 at 01:54:38 UTC, Dmitry Torokhov wrote:
> 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 <[email protected]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/9625e69a3818cc00fd85632719b4c6

cheers