From: Ezequiel Garcia Date: Wed, 17 Apr 2013 16:38:14 +0000 (-0300) Subject: mtd: nand: pxa3xx: Move buffer release code to its own function X-Git-Tag: v3.12-rc1~82^2~150 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=498b6145b8878c3659dfe57921deb7802196ce43;p=pandora-kernel.git mtd: nand: pxa3xx: Move buffer release code to its own function Create a function to release the buffer and the dma channel, thus undoing what pxa3xx_nand_init_buff() did. This commit makes the code more readable and will allow to handle non-DMA capable platforms easier. Signed-off-by: Ezequiel Garcia Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed