staging:iio: use ida_simple_get and ida_simple_remove + merge ids
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 30 Aug 2011 11:41:07 +0000 (12:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 23:00:25 +0000 (16:00 -0700)
Use new simple ida allocation functions to remove some boilerplate
code.

Also, now we only have one chdev per device we don't need to maintain
a separate ida for minor numbers. Just use the devices id.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found