drivers/uio/uio_pruss.c: use gen_pool_dma_alloc() to allocate sram memory
authorNicolin Chen <b42378@freescale.com>
Tue, 12 Nov 2013 23:09:57 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:23 +0000 (12:09 +0900)
commit288342e9cc867421d20f940d0c06b7aa4bf39096
tree06ef620bf8f84ed34d8496db84d97f17d1565bb0
parent43f950f454815cca2c39244c7441f9288d7389e0
drivers/uio/uio_pruss.c: use gen_pool_dma_alloc() to allocate sram memory

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

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Cc: "Hans J. Koch" <hjk@hansjkoch.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/uio/uio_pruss.c