projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd1ed37
)
acpi-dma: use devm_release() instead of devm_destroy()
author
Andy Shevchenko
<
[email protected]
>
Thu, 6 Feb 2014 11:25:39 +0000
(13:25 +0200)
committer
Vinod Koul
<
[email protected]
>
Tue, 11 Feb 2014 18:00:50 +0000
(23:30 +0530)
Since devm_destroy() doesn't call release function we have to use
devm_release() instead.
Signed-off-by: Andy Shevchenko <
[email protected]
>
Acked-by: Mika Westerberg <
[email protected]
>
Signed-off-by: Vinod Koul <
[email protected]
>
drivers/dma/acpi-dma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/acpi-dma.c
b/drivers/dma/acpi-dma.c
index 1e506afa33f5e5a9b95753ce0e98ceb2f4ce7e66..1fda371af4b76c49611ff36d62789c009e73246b 100644
(file)
--- a/
drivers/dma/acpi-dma.c
+++ b/
drivers/dma/acpi-dma.c
@@
-265,7
+265,7
@@
EXPORT_SYMBOL_GPL(devm_acpi_dma_controller_register);
*/
void devm_acpi_dma_controller_free(struct device *dev)
{
- WARN_ON(devres_
destroy
(dev, devm_acpi_dma_release, NULL, NULL));
+ WARN_ON(devres_
release
(dev, devm_acpi_dma_release, NULL, NULL));
}
EXPORT_SYMBOL_GPL(devm_acpi_dma_controller_free);