[2/2] powerpc: make use of for_each_node_by_type() instead of open-coding it
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Jan 18 00:29:59 AEDT 2018
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 <dmitry.torokhov at gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/9625e69a3818cc00fd85632719b4c6
cheers
More information about the Linuxppc-dev
mailing list