iommu: remove the put_resv_regions method
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2022 08:06:15 +0000 (10:06 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 15 Jul 2022 08:13:45 +0000 (10:13 +0200)
commitae3ff39a51a0f5843960487962e110339f321b0f
treef175ccd49901c6f79892f96714acff5c003761ed
parenta871765d5588531e1972902d1ae077b8be306c94
iommu: remove the put_resv_regions method

All drivers that implement get_resv_regions just use
generic_put_resv_regions to implement the put side.  Remove the
indirections and document the allocations constraints.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20220708080616.238833-4-hch@lst.de
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/iommu.c
drivers/iommu/apple-dart.c
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
drivers/iommu/arm/arm-smmu/arm-smmu.c
drivers/iommu/intel/iommu.c
drivers/iommu/iommu.c
drivers/iommu/mtk_iommu.c
drivers/iommu/virtio-iommu.c
include/linux/iommu.h