Re: powpc:feature: of_node_put is not needed after iterator.

From: Michael Ellerman
Date: Wed Aug 08 2018 - 10:26:54 EST


On Sat, 2018-08-04 at 14:25:00 UTC, zhong jiang wrote:
> for_each_node_by_name iterators only exit normally when the loop
> cursor is NULL, So there is no point to call of_node_put.
>
> Signed-off-by: zhong jiang <zhongjiang@xxxxxxxxxx>
> Reviewed-by: Tyrel Datwyler <tyreld@xxxxxxxxxxxxxxxxxx>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/81d7b08b3cec79a43411e7175401b3

cheers