]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: convert to idr_alloc()
authorTejun Heo <tj@kernel.org>
Thu, 7 Feb 2013 01:31:37 +0000 (12:31 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:30 +0000 (16:47 +1100)
commit6d9443c3f6af504e14f535ee9507c7fd65058ed7
treebecfa7085d1fe5b0dadf494d90cb2cb1340d925b
parentc7a44e21ebcdd2b3956d7f93b3655e4e2b8cfece
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