DMA: PL330: Use devm_* functions
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 15 Nov 2012 06:27:50 +0000 (06:27 +0000)
committerVinod Koul <vinod.koul@intel.com>
Tue, 8 Jan 2013 06:05:04 +0000 (22:05 -0800)
commite4d43c1764bc3ee1150f24e530db2b5b23e91425
tree92ee9654e05cbf0760eccbe13d4663f31a16ce58
parenta14acb4ac2a1486f6633c55eb7f7ded07f3ec9fc
DMA: PL330: Use devm_* functions

devm_* functions are device managed and make the code and error
handling a bit simpler.

Cc: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/pl330.c