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)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 26 Feb 2013 17:51:08 +0000 (19:51 +0200)
commit2f4f94dc802fbd7f8e4b48f3ee4c8183597bbc36
tree76fada1acb0c5597eb6a3161cfb73173a59abaec
parent74dc9b4bb68ea3ec990380eaf9d4f3291a77a701
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