dma: imx-dma: use devm_kzalloc and devm_request_irq
authorShawn Guo <shawn.guo@linaro.org>
Sat, 15 Sep 2012 07:16:47 +0000 (15:16 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 15 Oct 2012 02:03:16 +0000 (10:03 +0800)
commit04bbd8ef533fed260ea8cc249b534c1cbbc7f9d0
tree8c013af0b2e550bf31651b9bdd0ca4b0039479ce
parentbb1d34a20d537e2f2342db8b5918512f05b0f852
dma: imx-dma: use devm_kzalloc and devm_request_irq

Use managed functions devm_kzalloc and devm_request_irq instead to
make the error patch simpler.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/imx-dma.c