OSDN Git Service

iommu: amd: Use generic_iommu_put_resv_regions()
authorThierry Reding <treding@nvidia.com>
Wed, 18 Dec 2019 13:42:03 +0000 (14:42 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 23 Dec 2019 13:07:03 +0000 (14:07 +0100)
commit55c2564a6852d27d34938ec748a5f3903b335a0b
treee2cbc65ff067520469271ef14649d7fb2dac0172
parenta66c5dc549d1e1a33f9c4592390112bb8749c95b
iommu: amd: Use generic_iommu_put_resv_regions()

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

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c