Re: [PATCHv2 1/2] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2012-12-10 Thread Viresh Kumar
On 10 December 2012 20:10, Andy Shevchenko wrote: > The same information could be exctracted from the struct dma_chan. > The patch introduces helper function dwc_get_data_width() as well. > > Signed-off-by: Andy Shevchenko > --- > drivers/dma/dw_dmac.c | 19 --- > drivers/

[PATCHv2 1/2] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2012-12-10 Thread Andy Shevchenko
The same information could be exctracted from the struct dma_chan. The patch introduces helper function dwc_get_data_width() as well. Signed-off-by: Andy Shevchenko --- drivers/dma/dw_dmac.c | 19 --- drivers/dma/dw_dmac_regs.h |3 --- 2 files changed, 12 insertions(+)