OSDN Git Service

iommu: arm: Use generic_iommu_put_resv_regions()
authorThierry Reding <treding@nvidia.com>
Wed, 18 Dec 2019 13:42:02 +0000 (14:42 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 23 Dec 2019 13:07:03 +0000 (14:07 +0100)
commita66c5dc549d1e1a33f9c4592390112bb8749c95b
treec10430be0536316f71442877d78d3526a3571123
parentf9f6971ebb75f5bc302d77e3380dd6363cc1a0f6
iommu: arm: Use generic_iommu_put_resv_regions()

Use the new standard function instead of open-coding it.

Cc: Will Deacon <will@kernel.org>
Cc: Robin Murphy <robin.murphy@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm-smmu-v3.c
drivers/iommu/arm-smmu.c