commit | dbde5c2934d10f87cc45ed9a9b95cac6f0c0fdd2 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Jul 24 11:00:55 2012 +0300 |
committer | Vinod Koul <vinod.koul@linux.intel.com> | Thu Jul 26 11:40:07 2012 +0530 |
tree | f1b911eb964f8a80dce0c4eb27af695295708689 | |
parent | 634332502366554849fe37e88d05ec0a13e550c8 [diff] |
dw_dmac: use devm_* functions to simplify code 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>