iommu/arm-smmu: Pass arm_smmu_domain to internal functions
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 17 Oct 2023 18:11:43 +0000 (15:11 -0300)
committerWill Deacon <will@kernel.org>
Wed, 13 Dec 2023 13:03:31 +0000 (13:03 +0000)
commite0976331ad114af8e379e18483c346c6c79ca858
treea8d05906c356ee7bcfc5b7958dd683f5326fb666
parentbbbf11eea38c0cb167edc5ce5fe76324e87ad074
iommu/arm-smmu: Pass arm_smmu_domain to internal functions

Keep the types consistent, all the callers of these functions already have
obtained a struct arm_smmu_domain, don't needlessly go to/from an
iommu_domain through the internal call chains.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/4-v2-c86cc8c2230e+160bb-smmu_newapi_jgg@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu.c