ion: update idr to avoid deprecated apis
authorColin Cross <ccross@android.com>
Thu, 19 Sep 2013 19:54:56 +0000 (14:54 -0500)
committerColin Cross <ccross@android.com>
Thu, 12 Dec 2013 23:27:03 +0000 (15:27 -0800)
commitacd77fc7d05a80e7ae39e64e1a3948487e2255ff
tree5997e8506c0dc0dc130c5661e52df19136af019a
parent5c31b87cef4e03eea5b417a6e3f7c9b781aacf96
ion: update idr to avoid deprecated apis

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

Change-Id: I675b789879549bd3767ed3ef2016cf108eb622d2
Signed-off-by: Colin Cross <ccross@android.com>
drivers/staging/android/ion/ion.c