Re: [PATCH 01/11] iommu: Rename iommu_get_instance()
From: Joerg Roedel
Date: Fri Feb 10 2017 - 10:37:58 EST
Hi Robin,
On Fri, Feb 10, 2017 at 02:12:54PM +0000, Robin Murphy wrote:
> I'm really liking this series! Superficially it doesn't seem to break
> anything on my Juno, but I'll give it a more thorough workout soon.
Great, thanks for testing! Any problems in this series should show up on
boot anyway.
> > static inline const struct iommu_ops *of_iommu_get_ops(struct device_node *np)
> > {
> > - return iommu_get_instance(&np->fwnode);
> > + return iommu_ops_from_fwnode(&np->fwnode);
> > }
>
> Note that you've already got Lorenzo's patch queued to remove these of_
> wrappers.
Yes, that was among the conflicts I resolved when merging this with the
rest of the iommu-tree.
Joerg