Re: [PATCH 6/9] iommu/mediatek: Use helper functions to access dev->iommu_fwspec

From: Yong Wu
Date: Wed Dec 12 2018 - 08:40:33 EST


On Tue, 2018-12-11 at 13:19 +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: Matthias Brugger <matthias.bgg@xxxxxxxxx>
> Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>
> ---
> drivers/iommu/mtk_iommu.c | 21 ++++++++++++---------
> drivers/iommu/mtk_iommu_v1.c | 28 ++++++++++++++++------------
> 2 files changed, 28 insertions(+), 21 deletions(-)

Tested-by: Yong Wu <yong.wu@xxxxxxxxxxxx>