Re: [PATCH] drivers/of: Export phandle iterators
From: Robin Murphy
Date: Thu Nov 24 2016 - 07:43:22 EST
Hi Rob,
On 23/11/16 21:49, Rob Herring wrote:
> On Wed, Nov 23, 2016 at 1:06 PM, Robin Murphy <robin.murphy@xxxxxxx> 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