OSDN Git Service

greybus: vibrator: convert idr to be an ida
authorGreg Kroah-Hartman <gregkh@google.com>
Thu, 14 May 2015 17:39:35 +0000 (10:39 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 14 May 2015 20:35:10 +0000 (13:35 -0700)
commit6b17492eee00cbaac20b8431e8fa63f137a9ca5c
tree99f800d19e76876ed66b4a3a95d0d9d45aac4c4e
parent6f8528e0bea76850a153a98e47ad60aecf112801
greybus: vibrator: convert idr to be an ida

All we need is a simple ida, so use that interface instead of the more
"complex" idr one.  Bonus is we don't need to fix the locking issue I
forgot about when using an idr, as ida has one built-in.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/vibrator.c