dw_dmac: use devm_* functions to simplify code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 24 Jul 2012 08:00:55 +0000 (11:00 +0300)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 26 Jul 2012 06:10:07 +0000 (11:40 +0530)
Use devm_kzalloc, devm_clk_get, devm_request_irq, and devm_request_and_ioremap
to reduce the code and to simplify the error path.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>

No differences found