]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
greybus: vibrator-gb: proper allocate minor numbers
authorGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 Nov 2014 01:12:50 +0000 (17:12 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 Nov 2014 01:12:50 +0000 (17:12 -0800)
commit396671b139ff5d1271d6a1d9d465f244dfa6188d
treef48394446e0751490196599b8b3dc7bc978b3dde
parent4efe6065ce0e68fc6216114d061a14b9828c0e00
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>
drivers/staging/greybus/vibrator-gb.c