ion: don't use __arm_ioremap to map pages
authorColin Cross <ccross@android.com>
Fri, 13 Dec 2013 22:25:06 +0000 (14:25 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:57:19 +0000 (08:57 -0800)
commit8be3759a5e4ed91ffbe24d98b33a71f651cb3f9b
tree2977068b98d5b380d6723aca3aad054f4428f881
parentb26661d1f6a1f94c11a12fef85cd2e942888310e
ion: don't use __arm_ioremap to map pages

ion_heap_map_kernel already implements mapping a scatterlist of
pages into the kernel, and all heaps are required to have struct
pages associated with them, so delete the functions that use
__arm_ioremap and use ion_heap_map_kernel instead.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_carveout_heap.c
drivers/staging/android/ion/ion_chunk_heap.c