summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-08-24 10:28:18 +0200
committerChristoph Hellwig <hch@lst.de>2018-09-08 11:19:28 +0200
commitdc3c05504d38849f77149cb962caeaedd1efa127 (patch)
tree93e5ec8eae100c5f4daff9e0062b717721f97a8f /drivers/acpi/scan.c
parentccf640f4c9988653ef884672381b03b9be247bec (diff)
downloadlinux-dc3c05504d38849f77149cb962caeaedd1efa127.tar.gz
linux-dc3c05504d38849f77149cb962caeaedd1efa127.tar.bz2
linux-dc3c05504d38849f77149cb962caeaedd1efa127.zip
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>
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r--drivers/acpi/scan.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index e1b6231cfa1c..56676a56b3e3 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1469,16 +1469,6 @@ int acpi_dma_configure(struct device *dev, enum dev_dma_attr attr)
}
EXPORT_SYMBOL_GPL(acpi_dma_configure);
-/**
- * acpi_dma_deconfigure - Tear-down DMA configuration for the device.
- * @dev: The pointer to the device
- */
-void acpi_dma_deconfigure(struct device *dev)
-{
- arch_teardown_dma_ops(dev);
-}
-EXPORT_SYMBOL_GPL(acpi_dma_deconfigure);
-
static void acpi_init_coherency(struct acpi_device *adev)
{
unsigned long long cca = 0;