summaryrefslogtreecommitdiffstats
path: root/drivers/dma/acpi-dma.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-10-07 17:03:23 +0200
committerVinod Koul <vkoul@kernel.org>2024-10-14 19:57:57 +0200
commit6e3ea06240adfef7b46e2338dd824541c31de06d (patch)
tree9a9def554cde05710cceca45d99df2ebaaa66df0 /drivers/dma/acpi-dma.c
parentdmaengine: sh: rz-dmac: add r7s72100 support (diff)
downloadlinux-6e3ea06240adfef7b46e2338dd824541c31de06d.tar.xz
linux-6e3ea06240adfef7b46e2338dd824541c31de06d.zip
dmaengine: acpi: Drop unused devm_acpi_dma_controller_free()
After introduction a few years ago the devm_acpi_dma_controller_free() was never used. Drop it. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20241007150436.2183575-2-andriy.shevchenko@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/acpi-dma.c')
-rw-r--r--drivers/dma/acpi-dma.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/dma/acpi-dma.c b/drivers/dma/acpi-dma.c
index a58a1600dd65..d5beb96ef510 100644
--- a/drivers/dma/acpi-dma.c
+++ b/drivers/dma/acpi-dma.c
@@ -277,21 +277,6 @@ int devm_acpi_dma_controller_register(struct device *dev,
EXPORT_SYMBOL_GPL(devm_acpi_dma_controller_register);
/**
- * devm_acpi_dma_controller_free - resource managed acpi_dma_controller_free()
- * @dev: device that is unregistering as DMA controller
- *
- * Unregister a DMA controller registered with
- * devm_acpi_dma_controller_register(). Normally this function will not need to
- * be called and the resource management code will ensure that the resource is
- * freed.
- */
-void devm_acpi_dma_controller_free(struct device *dev)
-{
- WARN_ON(devres_release(dev, devm_acpi_dma_release, NULL, NULL));
-}
-EXPORT_SYMBOL_GPL(devm_acpi_dma_controller_free);
-
-/**
* acpi_dma_update_dma_spec - prepare dma specifier to pass to translation function
* @adma: struct acpi_dma of DMA controller
* @dma_spec: dma specifier to update