commit | 47c24fdd4253a2c8d730b978a186923b1af5e879 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Tue Aug 30 12:41:07 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Sep 06 16:00:25 2011 -0700 |
tree | c70e6887bb431943e5307d328bb0f480f802f738 | |
parent | 5aa9618896e0ba49b444731f9fafa7f7c18a13ab [diff] |
staging:iio: use ida_simple_get and ida_simple_remove + merge ids 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>