dma-mapping: remove dma_deconfigure

This goes through a lot of hooks just to call arch_teardown_dma_ops.
Replace it with a direct call instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Šī revīzija ir iekļauta:
Christoph Hellwig
2018-08-24 10:28:18 +02:00
vecāks ccf640f4c9
revīzija dc3c05504d
9 mainīti faili ar 3 papildinājumiem un 43 dzēšanām

Parādīt failu

@@ -327,9 +327,3 @@ void dma_common_free_remap(void *cpu_addr, size_t size, unsigned long vm_flags)
vunmap(cpu_addr);
}
#endif
void dma_deconfigure(struct device *dev)
{
of_dma_deconfigure(dev);
acpi_dma_deconfigure(dev);
}