From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941088AbcKXMnD (ORCPT ); Thu, 24 Nov 2016 07:43:03 -0500 Received: from foss.arm.com ([217.140.101.70]:50394 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941040AbcKXMm5 (ORCPT ); Thu, 24 Nov 2016 07:42:57 -0500 Subject: Re: [PATCH] drivers/of: Export phandle iterators To: Rob Herring References: Cc: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Frank Rowand From: Robin Murphy Message-ID: <18302005-166c-37b9-6e6d-35804ff685ff@arm.com> Date: Thu, 24 Nov 2016 12:33:30 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On 23/11/16 21:49, Rob Herring wrote: > On Wed, Nov 23, 2016 at 1:06 PM, Robin Murphy wrote: >> Modular drivers may want to use of_for_each_phandle() - export its >> constituent functions. > > Do you have a user? I've been experimenting with modular IOMMU drivers on top of the probe-deferral stuff[1], and the ARM SMMU driver in particular demands a whole pile of exports. I thought I'd throw this one out now since nearly all the other of_* functions are exported already, but I'm quite happy to sit on it if you'd prefer to wait for a concrete in-tree need (it'll be a while yet). Robin. [1]:http://www.linux-arm.org/git?p=linux-rm.git;a=shortlog;h=refs/heads/iommu/defer