ion: convert map_kernel to return ERR_PTR
authorColin Cross <ccross@android.com>
Fri, 13 Dec 2013 22:24:48 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:57:17 +0000 (08:57 -0800)
commitdfc4a9b1769095d8125a56e5515f6728c9f137c0
treee079be0fa0eca1439b790308c16acc207f940a65
parent2540c73a5bf068b8c1c092fc3ce63c62ba949371
ion: convert map_kernel to return ERR_PTR

ion is going to stop accepting NULL as an error value, use ERR_PTR.

Signed-off-by: Colin Cross <ccross@android.com>
[jstultz: modified patch to apply to staging directory]
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_heap.c