From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752195AbbJXN7h (ORCPT ); Sat, 24 Oct 2015 09:59:37 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:41232 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751518AbbJXN7f (ORCPT ); Sat, 24 Oct 2015 09:59:35 -0400 From: "Rafael J. Wysocki" To: Mark Brown Cc: Tomeu Vizoso , "linux-kernel@vger.kernel.org" , Rob Herring , Stephen Warren , Javier Martinez Canillas , Greg Kroah-Hartman , Thierry Reding , Alan Stern , "linux-arm-kernel@lists.infradead.org" , Dmitry Torokhov , "devicetree@vger.kernel.org" , Linus Walleij , linux-acpi@vger.kernel.org, Arnd Bergmann Subject: Re: [PATCH v6 04/22] of: add function to allow probing a device from a OF node Date: Sat, 24 Oct 2015 16:28:28 +0200 Message-ID: <3439880.XMRknxAf8e@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20151022235419.GF29919@sirena.org.uk> References: <1442844182-27787-1-git-send-email-tomeu.vizoso@collabora.com> <20151022235419.GF29919@sirena.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, October 23, 2015 08:54:19 AM Mark Brown wrote: > > --7cm2iqirTL37Ot+N > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On Thu, Oct 22, 2015 at 03:03:37PM +0200, Tomeu Vizoso wrote: > > On 22 October 2015 at 03:06, Rafael J. Wysocki wrote: > > > > Same question as from Greg: How does a subsystem know whether or not to use > > > this function? > > > Maybe I don't understand the comment, but as the commit message says, > > subsystems can use this when looking up resources for drivers. Or you > > mean that this information should be in the API docs? > > I'm pretty sure what he's suggesting here is changing to "should always" > (ie, explain the situations when a subsystem would do this, including > decision criteria if it's optional). Right. Thanks, Rafael