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

2014-03-02 Thread Laurent Pinchart
Hi Will, On Friday 28 February 2014 16:38:37 Will Deacon wrote: > 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 t

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 d

[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 --- drivers/iommu/arm-smmu.c | 15 --- 1 file