dma: coh901318: use devm allocation
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Jun 2012 18:19:24 +0000 (20:19 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 14 Jun 2012 03:12:26 +0000 (08:42 +0530)
commitf7ceb362c4d2f4e613982148ddb143ad6a205485
treee8a7a60df04d48769d87495cc43cf4d08c77e1e4
parent9102d8715e5c10db37d81ab75285a2f6746360b2
dma: coh901318: use devm allocation

Allocate memory, region, remap and irq for device state using
devm_* helpers to simplify memory accounting.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/coh901318.c