staging: android: ion: Remove struct ion_platform_heap
authorAndrew F. Davis <afd@ti.com>
Fri, 11 Jan 2019 18:05:14 +0000 (12:05 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2019 09:42:27 +0000 (10:42 +0100)
commitc72f4e31c8a3c31bfdf4a1cbc595bb10d624c206
treed8682e1a504daa3d1282f7b0e30ab7383183e957
parent6e42d12ce0dac1834767c2128444935b3a4f3322
staging: android: ion: Remove struct ion_platform_heap

Now that ION heap registration has been re-worked to not depend on board
files or have a central heap register helper there is no need to have
this data structure. Most of the fields are unused.

Some heap creation helpers are still available that use this to define
the a heap but only use 2 or 3 elements from this struct, just convert
these to get supplied these values from the heap registrar directly.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.h
drivers/staging/android/ion/ion_carveout_heap.c
drivers/staging/android/ion/ion_chunk_heap.c