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

Convert to the much saner new idr interface.

Only compile tested.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/gpio/gpiolib.c