iommu/dma: Split iommu_dma_free
authorRobin Murphy <robin.murphy@arm.com>
Mon, 20 May 2019 07:29:40 +0000 (09:29 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 27 May 2019 15:31:11 +0000 (17:31 +0200)
commit8553f6e65240ea0c2ae970eeba18e4d3a47230aa
treea0d0e8ca7deebd9c086c3f14cb9db27cb5548aab
parent9a4ab94afcc4738d65ecfdff726a4a14abde1b98
iommu/dma: Split iommu_dma_free

Most of it can double up to serve the failure cleanup path for
iommu_dma_alloc().

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c