Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752618AbaBKRcp (ORCPT ); Tue, 11 Feb 2014 12:32:45 -0500 Received: from smtp.codeaurora.org ([198.145.11.231]:56046 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752220AbaBKRcl (ORCPT ); Tue, 11 Feb 2014 12:32:41 -0500 Message-ID: <52FA5EB4.7080008@codeaurora.org> Date: Tue, 11 Feb 2014 12:32:36 -0500 From: Christopher Covington User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Pawel Moll CC: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, lm-sensors@lm-sensors.org, arm@kernel.org, Mark Rutland , Mike Turquette , Samuel Ortiz , Arnd Bergmann , Ian Campbell , Dmitry Eremin-Solenikov , Greg Kroah-Hartman , Mark Brown , Liam Girdwood , Rob Herring , Guenter Roeck , Kumar Gala , Grant Likely , Lee Jones , David Woodhouse , Jean Delvare Subject: Re: [PATCH 1/3] driver core & of: Mark of_nodes of added device as populated References: <1392137610-27842-1-git-send-email-pawel.moll@arm.com> <1392137610-27842-2-git-send-email-pawel.moll@arm.com> In-Reply-To: <1392137610-27842-2-git-send-email-pawel.moll@arm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pawel, On 02/11/2014 11:53 AM, Pawel Moll wrote: > This patch tries to solve that issue in a generic way, > adding a "populated" flag which is set in the device_node > structure when a device is being created in the core. > Later, of_platform_populate() skips such nodes (and > its children) in a similar way to the non-available ones. Will there never be a case where it is useful for a parent node to be created early, but not necessarily the child nodes? Might only skipping nodes explicitly marked as populated be a more universal solution? Regards, Christopher -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/