dmaengine: cppi41: use managed functions devm_*()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 16 Mar 2017 14:18:45 +0000 (16:18 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 27 Mar 2017 05:19:34 +0000 (10:49 +0530)
commit8e3ba95f41901e0da0bb3151ed696dca6f7ec511
tree16f17014c781688b72625f27e99ca6d75ff73445
parenta08f2673dde1aaba22c79ed016d5901f1b042401
dmaengine: cppi41: use managed functions devm_*()

This makes the error handling much more simpler than open-coding
everything and in addition makes the probe function smaller an tidier.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/cppi41.c