From: Rusty Russell Date: Wed, 3 Aug 2011 23:21:06 +0000 (-0700) Subject: ida: simplified functions for id allocation X-Git-Tag: v3.1-rc1~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88eca0207cf1574328c3ce8c3be537a9317261bb;p=pandora-kernel.git ida: simplified functions for id allocation The current hyper-optimized functions are overkill if you simply want to allocate an id for a device. Create versions which use an internal lock. In followup patches, numerous drivers are converted to use this interface. Thanks to Tejun for feedback. Signed-off-by: Rusty Russell Acked-by: Tejun Heo Acked-by: Jonathan Cameron Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed