Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp533177imu; Fri, 7 Dec 2018 05:08:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vp7F9GSIpHRgum7m+mgKbC6erLuNL/gkPz90EquZbwkYXW0Hc/K9MLgj7cxZ1LoeJFGKTq X-Received: by 2002:a63:e247:: with SMTP id y7mr1827510pgj.84.1544188106118; Fri, 07 Dec 2018 05:08:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544188106; cv=none; d=google.com; s=arc-20160816; b=ZOeGYp6SvQ+cQ471J2I93tfU0QCs6P3lPcJ5v061f8/uqC2fYvCaT8k2rIs9OHCU/M foFVPrrZhGKhsfq3L5XgYjC5srzOXYGmSmseHqxYoajN5UakgkwTmbuqxHmFqJqFHE9s 5TUrmMM06jrq4ao3GVs7yuu3aBdHstaqEpZXnM5FxBLBmltTcEtJi9J8kz9ttUk0PsF1 HaBAT7CH52Lx6Ux0DFOaLSShDEt6xkqQ/Pg+195Uh6Lw/ri+sWUxD8Kl9HdMHj49hyXd ZyORhqm/RQikPv2fi64QxB80K2tqtLE4XWBaYCLof3fVxSfZ3zwyEdqXRVdWcBtm7CeP 7eYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=Czbc4u1E9Lem0Rlb4t2AlRAjhmCL7YtvmNu0rIllN0c=; b=pQdReOY9GUzYt8NMA3dv7XWh52pfg0MnvHqgdhI6jeaxS2sv3YY5J4m9zGo2+yks0H RDWPtceeAFsh7yZX5o7WWYQIwUMY2qipsD2dWDMPF/j2be6LFx6D5UMlf31cfnAAJkga FZsTCOqIJrgR0LWCr/COnv8aVvEp79xj5Mx8HICswIdtdaGbhtKYuE8LF6UMZ+gRWDcd 1fUisJqksOEDMHDlwtF/qWvrQdOd5RtkEkJzsh3CkO/CBWNpKnOy/0TQ/PcuNRcZ5FYq O4WUlfodwwyu9kPve424ntWPiOITCNtpLPFj+mKfrY3hzjjiIfxSBKy51Xa9awJYDBY5 WgmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si3213534pfe.74.2018.12.07.05.08.08; Fri, 07 Dec 2018 05:08:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726204AbeLGNHK (ORCPT + 99 others); Fri, 7 Dec 2018 08:07:10 -0500 Received: from ozlabs.org ([203.11.71.1]:45679 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbeLGNHJ (ORCPT ); Fri, 7 Dec 2018 08:07:09 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 43BCRZ67Hqz9sBQ; Sat, 8 Dec 2018 00:07:06 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: e5480bdcc4429e4c172d450ee1db1934d84482ef X-Patchwork-Hint: ignore In-Reply-To: <20181116221104.23024-4-robh@kernel.org> To: Rob Herring From: Michael Ellerman Cc: devicetree@vger.kernel.org, Arnd Bergmann , linux-kernel@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: Re: powerpc: Use device_type helpers to access the node type Message-Id: <43BCRZ67Hqz9sBQ@ozlabs.org> Date: Sat, 8 Dec 2018 00:07:06 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-11-16 at 22:11:00 UTC, Rob Herring wrote: > Remove directly accessing device_node.type pointer and use the accessors > instead. This will eventually allow removing the type pointer. > > Replace the open coded iterating over child nodes with > for_each_child_of_node() while we're here. > > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: Arnd Bergmann > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Rob Herring Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/e5480bdcc4429e4c172d450ee1db19 cheers