iommu: Clean up bus_set_iommu()
authorRobin Murphy <robin.murphy@arm.com>
Mon, 15 Aug 2022 16:20:17 +0000 (17:20 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 7 Sep 2022 12:26:17 +0000 (14:26 +0200)
commit29e932295bfaba792d29e66e8be0637ff3994724
tree292e5813ae7780764bfeb890312c20e828cf7b3e
parent19d3607c74bc0332f0ee3a2d54ead6e792c0dce9
iommu: Clean up bus_set_iommu()

Clean up the remaining trivial bus_set_iommu() callsites along
with the implementation. Now drivers only have to know and care
about iommu_device instances, phew!

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Matthew Rosato <mjrosato@linux.ibm.com> # s390
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com> # s390
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/ea383d5f4d74ffe200ab61248e5de6e95846180a.1660572783.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm/arm-smmu/qcom_iommu.c
drivers/iommu/fsl_pamu_domain.c
drivers/iommu/intel/iommu.c
drivers/iommu/iommu.c
drivers/iommu/msm_iommu.c
drivers/iommu/rockchip-iommu.c
drivers/iommu/s390-iommu.c
drivers/iommu/sprd-iommu.c
drivers/iommu/sun50i-iommu.c
include/linux/iommu.h