summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/apple-dart.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-07-08 10:06:15 +0200
committerJoerg Roedel <jroedel@suse.de>2022-07-15 10:13:45 +0200
commitae3ff39a51a0f5843960487962e110339f321b0f (patch)
treef175ccd49901c6f79892f96714acff5c003761ed /drivers/iommu/apple-dart.c
parenta871765d5588531e1972902d1ae077b8be306c94 (diff)
downloadlinux-ae3ff39a51a0f5843960487962e110339f321b0f.tar.bz2
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>
Diffstat (limited to 'drivers/iommu/apple-dart.c')
-rw-r--r--drivers/iommu/apple-dart.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/apple-dart.c b/drivers/iommu/apple-dart.c
index e87d3cf54ed6..1b1725759262 100644
--- a/drivers/iommu/apple-dart.c
+++ b/drivers/iommu/apple-dart.c
@@ -768,7 +768,6 @@ static const struct iommu_ops apple_dart_iommu_ops = {
.of_xlate = apple_dart_of_xlate,
.def_domain_type = apple_dart_def_domain_type,
.get_resv_regions = apple_dart_get_resv_regions,
- .put_resv_regions = generic_iommu_put_resv_regions,
.pgsize_bitmap = -1UL, /* Restricted during dart probe */
.owner = THIS_MODULE,
.default_domain_ops = &(const struct iommu_domain_ops) {