Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932723AbcCRNyQ (ORCPT ); Fri, 18 Mar 2016 09:54:16 -0400 Received: from mail.kernel.org ([198.145.29.136]:52572 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757064AbcCRNyN (ORCPT ); Fri, 18 Mar 2016 09:54:13 -0400 MIME-Version: 1.0 In-Reply-To: <1457073455-11516-17-git-send-email-zhaoshenglong@huawei.com> References: <1457073455-11516-1-git-send-email-zhaoshenglong@huawei.com> <1457073455-11516-17-git-send-email-zhaoshenglong@huawei.com> From: Rob Herring Date: Fri, 18 Mar 2016 08:53:44 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 16/17] FDT: Add a helper to get the subnode by given name To: Shannon Zhao Cc: "linux-arm-kernel@lists.infradead.org" , Ard Biesheuvel , Stefano Stabellini , david.vrabel@citrix.com, Catalin Marinas , Will Deacon , Mark Rutland , "xen-devel@lists.xen.org" , "devicetree@vger.kernel.org" , "linux-efi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Shannon Zhao , hangaohuai@huawei.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 409 Lines: 10 On Fri, Mar 4, 2016 at 12:37 AM, Shannon Zhao wrote: > From: Shannon Zhao > > Sometimes it needs to check if there is a subnode of given node in FDT > by given name. Introduce this helper to get the subnode if it exists. > > CC: Rob Herring > Signed-off-by: Shannon Zhao Acked-by: Rob Herring