ARM: dma-mapping: remove redundant code and do the cleanup
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 10 Feb 2012 18:55:20 +0000 (19:55 +0100)
committerHiroshi Doyu <hdoyu@nvidia.com>
Fri, 7 Sep 2012 08:46:07 +0000 (11:46 +0300)
commit849a7a2373651ed295d884991205b2f1e4bb53ae
tree0aa3681ed99a679a58e33763bb37ae918ce2b354
parenta7b89808ab87ad8c8df9270f8b98d8187218ca04
ARM: dma-mapping: remove redundant code and do the cleanup

This patch just performs a global cleanup in DMA mapping implementation
for ARM architecture. Some of the tiny helper functions have been moved
to the caller code, some have been merged together.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Tested-By: Subash Patel <subash.ramaswamy@linaro.org>
arch/arm/mm/dma-mapping.c