From: Hongbo Zhang Date: Fri, 18 Apr 2014 08:17:47 +0000 (+0800) Subject: DMA: Freescale: add fsl_dma_free_descriptor() to reduce code duplication X-Git-Tag: omap-for-v3.16/fixes-against-rc1~69^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86d19a5491d08fdc5a5cb4be5a09d5f88a6b96ba;p=pandora-kernel.git DMA: Freescale: add fsl_dma_free_descriptor() to reduce code duplication There are several places where descriptors are freed using identical code. This patch puts this code into a function to reduce code duplication. Signed-off-by: Hongbo Zhang Signed-off-by: Qiang Liu Signed-off-by: Vinod Koul --- Reading git-diff-tree failed