ion: update idr to avoid deprecated apis
authorColin Cross <ccross@android.com>
Fri, 13 Dec 2013 22:25:05 +0000 (14:25 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:57:19 +0000 (08:57 -0800)
commitb26661d1f6a1f94c11a12fef85cd2e942888310e
treeebc230d4369bae6985749fc352eefdea10031cbf
parentceff95d49cc3e28c06c2352e8d94f56046271aeb
ion: update idr to avoid deprecated apis

Use idr_alloc instead if idr_pre_get/idr_get_new_above, and
remove idr_remove_all.

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.c