Re: [PATCH 3/9] iommu/arm-smmu: Use helper functions to access dev->iommu_fwspec
From: Will Deacon
Date: Thu Dec 06 2018 - 08:11:12 EST
On Tue, Dec 04, 2018 at 05:29:56PM +0100, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@xxxxxxx>
>
> Use the new helpers dev_iommu_fwspec_get()/set() to access
> the dev->iommu_fwspec pointer. This makes it easier to move
> that pointer later into another struct.
>
> Cc: Will Deacon <will.deacon@xxxxxxx>
> Cc: Robin Murphy <robin.murphy@xxxxxxx>
> Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>
> ---
> drivers/iommu/arm-smmu-v3.c | 16 +++++++++-------
> drivers/iommu/arm-smmu.c | 12 ++++++------
> 2 files changed, 15 insertions(+), 13 deletions(-)
Looks straighforward enough to me:
Acked-by: Will Deacon <will.deacon@xxxxxxx>
Will