acpi-dma: use devm_release() instead of devm_destroy()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 6 Feb 2014 11:25:39 +0000 (13:25 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 11 Feb 2014 18:00:50 +0000 (23:30 +0530)
commit8f01258385be3225331d7edd20de905df433aac4
tree71151d65d59bbff25a0ff47375265446027ecaa1
parentdd1ed372abebe7d48dc26bf1649fb089422f0ba3
acpi-dma: use devm_release() instead of devm_destroy()

Since devm_destroy() doesn't call release function we have to use
devm_release() instead.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/acpi-dma.c