diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2012-07-24 12:00:55 +0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-07-26 10:10:07 +0400 |
commit | dbde5c2934d10f87cc45ed9a9b95cac6f0c0fdd2 (patch) | |
tree | f1b911eb964f8a80dce0c4eb27af695295708689 /drivers/dma/tegra20-apb-dma.c | |
parent | 634332502366554849fe37e88d05ec0a13e550c8 (diff) | |
download | linux-dbde5c2934d10f87cc45ed9a9b95cac6f0c0fdd2.tar.xz |
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>
Diffstat (limited to 'drivers/dma/tegra20-apb-dma.c')
0 files changed, 0 insertions, 0 deletions