drivers/dma/mmp_tdma.c: use gen_pool_dma_alloc() to allocate descriptor
authorNicolin Chen <b42378@freescale.com>
Tue, 12 Nov 2013 23:09:55 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:23 +0000 (12:09 +0900)
commita6dd30e2bc88b3816341534c3cd0ebbecdda3ec6
treed454ccd397275f878a3f88bf10a5beae1cda562f
parent66f119695bcccc2b03b354152f6d65a0b129cef9
drivers/dma/mmp_tdma.c: use gen_pool_dma_alloc() to allocate descriptor

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

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/dma/mmp_tdma.c