dmaengine: omap-dma: Clean up the prep_slave_sg sg list walk code
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 11 Nov 2015 10:37:56 +0000 (12:37 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sat, 5 Dec 2015 08:06:38 +0000 (13:36 +0530)
commite8a5e79c17f977d1820ffe9b6ac259c953b3b34b
tree8a67cf10b39e50a3ece8e0b0d5a15c3e0bb0249f
parentadf850bcca4eec45f06c6ad3e297a350a8a319bc
dmaengine: omap-dma: Clean up the prep_slave_sg sg list walk code

The for_each_sg() macro's last parameter is inteded to be used as counter.
We can use 'i' instead of 'j' within the loop for indexes.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c