From: Jonathan Cameron Date: Tue, 30 Aug 2011 11:41:07 +0000 (+0100) Subject: staging:iio: use ida_simple_get and ida_simple_remove + merge ids X-Git-Tag: v3.2-rc1~169^2^2~744 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47c24fdd4253a2c8d730b978a186923b1af5e879;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed