iommu/tegra: Use dev_iommu_priv_get/set()
authorJoerg Roedel <jroedel@suse.de>
Thu, 25 Jun 2020 13:08:29 +0000 (15:08 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 30 Jun 2020 09:59:48 +0000 (11:59 +0200)
commita5616e24609a2bb3dc6ea1ab360207fa1198c976
tree85a5aaa54b8790eed0720f336163e873fc8d893d
parent8b9cc3b71bfda8e7c273b8f0fd80a8860ed077ad
iommu/tegra: Use dev_iommu_priv_get/set()

Remove the use of dev->archdata.iommu and use the private per-device
pointer provided by IOMMU core code instead.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20200625130836.1916-7-joro@8bytes.org
drivers/iommu/tegra-gart.c
drivers/iommu/tegra-smmu.c