Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753250AbeAQNaE (ORCPT + 1 other); Wed, 17 Jan 2018 08:30:04 -0500 Received: from ozlabs.org ([103.22.144.67]:55017 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753000AbeAQNaC (ORCPT ); Wed, 17 Jan 2018 08:30:02 -0500 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 9625e69a3818cc00fd85632719b4c6c12f7f1b1e In-Reply-To: <20170201015438.18826-2-dmitry.torokhov@gmail.com> To: Dmitry Torokhov , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, Scott Wood , linuxppc-dev@lists.ozlabs.org Subject: Re: [2/2] powerpc: make use of for_each_node_by_type() instead of open-coding it Message-Id: <3zM7HX2lB3z9sPk@ozlabs.org> Date: Thu, 18 Jan 2018 00:29:59 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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 Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/9625e69a3818cc00fd85632719b4c6 cheers