]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: convert to idr_alloc()
authorTejun Heo <tj@kernel.org>
Wed, 20 Feb 2013 02:16:15 +0000 (13:16 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:46 +0000 (16:53 +1100)
commitc7da0d94cb74f22fb6e112e1b2ee3c757a38cb05
tree70f3ee259eaa4ee11f8004ba7d2fb0bf437e7440
parent298073bea4d4928ef4d4071960237bf091276924
i2c: convert to idr_alloc()

Convert to the much saner new idr interface.

Only compile tested.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Wolfram Sang <wolfram@the-dreams.de>
Tested-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/i2c/i2c-core.c