arch/arm/mach-davinci/sram.c: use gen_pool_dma_alloc() to sram.c
authorNicolin Chen <b42378@freescale.com>
Tue, 12 Nov 2013 23:09:54 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:22 +0000 (12:09 +0900)
commit66f119695bcccc2b03b354152f6d65a0b129cef9
treef387dd78f82f711c4ceaa75f6aba5458968602aa
parent684f0d3d14f2744ae7ad79063b21909e32bf444e
arch/arm/mach-davinci/sram.c: use gen_pool_dma_alloc() to sram.c

Since gen_pool_dma_alloc() is introduced, we implement it to simplify code.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/mach-davinci/sram.c