From: Laurent Pinchart Date: Wed, 30 Oct 2013 11:34:51 +0000 (+0100) Subject: mmc: sh_mmcif: Factorize DMA channel request and configuration code X-Git-Tag: v3.14-rc1~88^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5a233cb647d749de2f188477c9a54b94d90477f;p=pandora-kernel.git mmc: sh_mmcif: Factorize DMA channel request and configuration code The channel request and configuration code is duplicated for the rx and tx channels. Create a function that requests a single channel and call it twice instead. Signed-off-by: Laurent Pinchart Signed-off-by: Chris Ball --- Reading git-diff-tree failed