[PATCH 1/2] iommu/arm-smmu: Replace list walk with platform driver data

2014-02-28 Thread Laurent Pinchart
Instead of walking the list of registered SMMU devices at remove time to locate the device being removed, set platform driver data at probe time to point to the SMMU and retrieve the pointer at remove time. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com ---

Re: [PATCH 1/2] iommu/arm-smmu: Replace list walk with platform driver data

2014-02-28 Thread Will Deacon
Hi Laurent, On Fri, Feb 28, 2014 at 03:37:09PM +, Laurent Pinchart wrote: Instead of walking the list of registered SMMU devices at remove time to locate the device being removed, set platform driver data at probe time to point to the SMMU and retrieve the pointer at remove time. What