]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/uio/uio_pruss.c: use gen_pool_dma_alloc() to allocate sram memory
authorNicolin Chen <b42378@freescale.com>
Tue, 5 Nov 2013 05:56:51 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:51 +0000 (16:56 +1100)
commitff753dea71c532ee5477a6e28055b6cc053f71c4
tree1df2a05b2586ba914fee878ec16efd740f51c833
parent562d765c85f29a46352104447a3c61d13e59fb78
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>
drivers/uio/uio_pruss.c