Messages in this thread | | | Subject | Re: [PATCH 6/9] iommu/mediatek: Use helper functions to access dev->iommu_fwspec | From | Yong Wu <> | Date | Wed, 12 Dec 2018 21:40:20 +0800 |
| |
On Tue, 2018-12-11 at 13:19 +0100, Joerg Roedel wrote: > From: Joerg Roedel <jroedel@suse.de> > > 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@gmail.com> > Signed-off-by: Joerg Roedel <jroedel@suse.de> > --- > 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@mediatek.com>
| |