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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 21 May 2012 13:06:19 +0000 (15:06 +0200)
commit51fde3499b531d4cf278f4d2eaa6c45b2865b16b
tree63ec32ec33f9e97b9f4e04c118385c2366b2f922
parent15237e1f505b3e5c2276f240b01cd2133e110cbc
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