dma: cppi41: Switch to using managed resource in probe
authorKiran Padwal <kiran.padwal@smartplayin.com>
Wed, 24 Sep 2014 10:23:46 +0000 (15:53 +0530)
committerVinod Koul <vinod.koul@intel.com>
Wed, 15 Oct 2014 14:56:45 +0000 (20:26 +0530)
commitf0f3b5fa7537e13dfd20b4cd399f00545f9fc0e7
treec0257efe392080636f59619c177d64213eb9d243
parent6e4a2a83f95826201bbd89f55522537ea52d1d67
dma: cppi41: Switch to using managed resource in probe

This change uses managed resource APIs to allocate resources such as,
mem, irq in order to simplify the driver unload or failure cases

Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/cppi41.c