iommu: intel: Use generic_iommu_put_resv_regions()
authorThierry Reding <treding@nvidia.com>
Wed, 18 Dec 2019 13:42:04 +0000 (14:42 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 23 Dec 2019 13:07:03 +0000 (14:07 +0100)
commit0ecdebb7dad586f15c3a5a98bb0cf431ca2fc1da
tree05b38ae976a2d88857450a669e10ce039d08e8f4
parent55c2564a6852d27d34938ec748a5f3903b335a0b
iommu: intel: Use generic_iommu_put_resv_regions()

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

Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c