]> git.karo-electronics.de Git - karo-tx-linux.git/commit
power: convert to idr_alloc()
authorTejun Heo <tj@kernel.org>
Thu, 7 Feb 2013 01:31:45 +0000 (12:31 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:35 +0000 (16:47 +1100)
commit9985b903f73b2b56e72207b61360b2d3c32f920b
tree2ae98fb7f9c9485d7982a73d7643158e58404dbd
parent55bfc36734249c981dbcb5efbe345ac851580b8f
power: 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: Anton Vorontsov <cbou@mail.ru>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/power/bq2415x_charger.c
drivers/power/bq27x00_battery.c
drivers/power/ds2782_battery.c