dma: mxs-dma: use devm_* managed functions
authorShawn Guo <shawn.guo@linaro.org>
Mon, 25 Feb 2013 06:57:26 +0000 (14:57 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 4 Apr 2013 13:22:43 +0000 (21:22 +0800)
commitaaa20517c0880d021c4839eb172e8cfc03c43e21
tree9224a04344cfd2b5f401730b11305e301af2c0c9
parentf30fb03d4d3abe2da86918a92df0964cdf933e82
dma: mxs-dma: use devm_* managed functions

Use devm_* managed functions to simplify probe() error handling.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
drivers/dma/mxs-dma.c