dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 10 Jan 2013 08:53:05 +0000 (10:53 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sat, 12 Jan 2013 13:07:23 +0000 (05:07 -0800)
commit23d5f4ec9de43dbc73a42f1483d9339b907c3dff
treefa19bbfd959291a624433b6f328017160b1dc0d9
parent495aea4b571d1b7f77883f87754247b115627f68
dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

The same information could be extracted from the struct dma_chan.
The patch introduces helper function dwc_get_data_width() as well.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw_dmac.c
drivers/dma/dw_dmac_regs.h