]> git.karo-electronics.de Git - karo-tx-linux.git/commit
misc/c2port: convert to idr_alloc()
authorTejun Heo <tj@kernel.org>
Wed, 20 Feb 2013 02:16:20 +0000 (13:16 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:49 +0000 (16:53 +1100)
commit57ed2a85c136bd545b85ee2909a760074da3f8f6
tree68b49256e78b31c0d9e5b1816ee3806d6723f4e0
parent47b5dfa8c5ec28b91ff4e58f3f2a4f8492b8bb63
misc/c2port: convert to idr_alloc()

Convert to the much saner new idr interface.

Only compile tested.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/misc/c2port/core.c