greybus: vibrator-gb: proper allocate minor numbers

Change the driver to allocate minors in a proper manner, using the idr
interface.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
Greg Kroah-Hartman 2014-11-17 17:12:50 -08:00
commit 396671b139