thermal: convert to idr_alloc()
authorTejun Heo <tj@kernel.org>
Thu, 28 Feb 2013 01:04:46 +0000 (17:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Feb 2013 03:10:19 +0000 (19:10 -0800)
commit6deb69facebb2f9a2b15a8e5e33ab00ebc7c44cb
tree4f23dc9cea95c526ef23c28e895379a19197e3b8
parentab51603672a335d325963ca410d9c527d9f834f7
thermal: convert to idr_alloc()

Convert to the much saner new idr interface.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/thermal/cpu_cooling.c
drivers/thermal/thermal_sys.c